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 305B

12345678910
  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),
  8. path('notices/<int:id>/', views.notice_detail),
  9. ]