You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

urls.py 351B

1 year ago
1 year ago
1 year ago
12345678910111213
  1. from django.urls import path
  2. from . import views
  3. urlpatterns = [
  4. path('', views.index, name='index'),
  5. path('new', views.new, name='new'),
  6. path('delete/<int:deleteId>', views.delete, name='delete'),
  7. path('notices/', views.notice_list, name='notice_list'),
  8. path('notices/<int:id>/', views.notice_detail, name='notice_detail'),
  9. ]