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

123456789101112131415
  1. from django.conf.urls import url, include
  2. from django.urls import path
  3. from . import views
  4. urlpatterns = [
  5. url(r'^$', views.index, name='index'),
  6. url('new', views.new, name='new'),
  7. path('delete/<int:deleteId>', views.delete, name='delete'),
  8. path('notices/', views.notice_list),
  9. path('notices/<int:id>/', views.notice_detail),
  10. ]