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

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