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
7cf67dfd
Commit
7cf67dfd
authored
Jan 04, 2016
by
David Haynes
🙆
Browse files
500.html needs to be in root /templates as well
- views.py 404/500 methods corrected to proper locations - sorry
parent
ce5aeb17
Changes
2
Hide whitespace changes
Inline
Side-by-side
go/go/templates/
core/
500.html
→
go/go/templates/500.html
View file @
7cf67dfd
File moved
go/go/views.py
View file @
7cf67dfd
...
...
@@ -56,7 +56,7 @@ def error_404(request):
Error 404 view, in case a url is not found.
"""
return
render
(
request
,
'
core/
404.html'
,
{
return
render
(
request
,
'404.html'
,
{
},
)
...
...
@@ -66,7 +66,7 @@ def error_500(request):
Error 500 view, in case a server error occurs.
"""
return
render
(
request
,
'
core/
500.html'
,
{
return
render
(
request
,
'500.html'
,
{
},
)
...
...
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