mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
Fixed typo on 403 exception
This commit is contained in:
parent
f35412248b
commit
d6962a890d
|
@ -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