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
749f9650
Commit
749f9650
authored
Jun 02, 2016
by
Andy Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DO NOT MERGE: show UX reference pages on sandboxes
parent
199c4c35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
+1
-2
lms/urls.py
+1
-2
No files found.
lms/urls.py
View file @
749f9650
...
...
@@ -980,8 +980,7 @@ if settings.DEBUG:
document_root
=
settings
.
PROFILE_IMAGE_BACKEND
[
'options'
][
'location'
]
)
# in debug mode, allow any template to be rendered (most useful for UX reference templates)
urlpatterns
+=
url
(
r'^template/(?P<template>.+)$'
,
'openedx.core.djangoapps.debug.views.show_reference_template'
),
urlpatterns
+=
url
(
r'^template/(?P<template>.+)$'
,
'openedx.core.djangoapps.debug.views.show_reference_template'
),
if
'debug_toolbar'
in
settings
.
INSTALLED_APPS
:
import
debug_toolbar
...
...
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