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

1234567891011121314
  1. from django.conf.urls import url
  2. from django.urls import path
  3. from posts import views
  4. urlpatterns = [
  5. path('notice', views.index, name='index'),
  6. path('welcome', views.welcome_seite),
  7. path('home', views.welcome_seite),
  8. path('about', views.about_seite),
  9. url(r'^new', views.new, name='new'),
  10. path('delete/<int:deleteId>', views.delete, name ='delete'),
  11. path('notices', views.notice_list),
  12. path('notices/<int:id>', views.notice_detail)
  13. ]