urls.py 585 B

1234567891011121314
  1. from django.conf.urls import url
  2. from . import views
  3. urlpatterns = [
  4. url(r'^middleware_exceptions/view/$', views.normal_view),
  5. url(r'^middleware_exceptions/not_found/$', views.not_found),
  6. url(r'^middleware_exceptions/error/$', views.server_error),
  7. url(r'^middleware_exceptions/null_view/$', views.null_view),
  8. url(r'^middleware_exceptions/permission_denied/$', views.permission_denied),
  9. url(r'^middleware_exceptions/template_response/$', views.template_response),
  10. url(r'^middleware_exceptions/template_response_error/$', views.template_response_error),
  11. ]