Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
4801b4b3
Commit
4801b4b3
authored
Mar 25, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3060 from edx/db/display-error-pages
Display error page templates, for testing purposes
parents
64265ee5
f5f7b77d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
lms/urls.py
+6
-0
No files found.
lms/urls.py
View file @
4801b4b3
...
@@ -499,3 +499,9 @@ if settings.DEBUG:
...
@@ -499,3 +499,9 @@ if settings.DEBUG:
#Custom error pages
#Custom error pages
handler404
=
'static_template_view.views.render_404'
handler404
=
'static_template_view.views.render_404'
handler500
=
'static_template_view.views.render_500'
handler500
=
'static_template_view.views.render_500'
# display error page templates, for testing purposes
urlpatterns
+=
(
url
(
r'404'
,
handler404
),
url
(
r'500'
,
handler500
),
)
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