123456789101112 |
- from django.urls import path
- from . import views
-
- urlpatterns = [
- path('', views.index, name='posts'),
- path('new', views.new, name='new'),
- path('delete/<int:deleteId>', views.delete, name='delete'),
- path('edit/<int:editId>', views.edit, name='edit'),
-
- path('notices/', views.notice_list),
- path('notices/<int:id>/', views.notice_detail),
- ]
|