Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
6b2a8a3a
Unverified
Commit
6b2a8a3a
authored
Feb 02, 2017
by
David Haynes
Browse files
Remove the handle404/500 functions as they clearly do nothing
- so much for template organization
parent
8aab4dac
Changes
1
Hide whitespace changes
Inline
Side-by-side
go/settings/urls.py
View file @
6b2a8a3a
...
...
@@ -12,10 +12,6 @@ import go.views
# application. Such modules are expected to register models with the admin.
admin
.
autodiscover
()
# Handle 404 and 500 errors with custom pages
handle404
=
TemplateView
.
as_view
(
template_name
=
"admin/404.html"
)
handle500
=
TemplateView
.
as_view
(
template_name
=
"admin/500.html"
)
# Main list of project URL's
urlpatterns
=
[
# / - Homepage url.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment