mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 13:04:05 +03:00
commit
391971c6d5
|
@ -29,7 +29,7 @@ if settings.DEBUG:
|
||||||
# these url in browser to see how these error pages look like.
|
# these url in browser to see how these error pages look like.
|
||||||
urlpatterns += [
|
urlpatterns += [
|
||||||
url(r'^400/$', default_views.bad_request, kwargs={'exception': Exception("Bad Request!")}),
|
url(r'^400/$', default_views.bad_request, kwargs={'exception': Exception("Bad Request!")}),
|
||||||
url(r'^403/$', default_views.permission_denied, kwargs={'exception': Exception("Permissin Denied")}),
|
url(r'^403/$', default_views.permission_denied, kwargs={'exception': Exception("Permission Denied")}),
|
||||||
url(r'^404/$', default_views.page_not_found, kwargs={'exception': Exception("Page not Found")}),
|
url(r'^404/$', default_views.page_not_found, kwargs={'exception': Exception("Page not Found")}),
|
||||||
url(r'^500/$', default_views.server_error),
|
url(r'^500/$', default_views.server_error),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user