11 lines
323 B
Python
11 lines
323 B
Python
|
|
from django.urls import path
|
||
|
|
from board.views import *
|
||
|
|
|
||
|
|
|
||
|
|
app_name = "board"
|
||
|
|
urlpatterns = [
|
||
|
|
path("<slug:url>/", BoardView.as_view(), name="board_detail"),
|
||
|
|
path("<slug:url>/page/<int:page>/", BoardView.as_view(), name="board_detail"),
|
||
|
|
path("<slug:url>/post/<int:id>/", PostView.as_view(), name="post_detail"),
|
||
|
|
]
|