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
a93ef64a
Commit
a93ef64a
authored
Feb 07, 2014
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2454 from ionis-education-group/theme-template-paths
Prepend theme template paths
parents
6c5ad2b7
b758c89e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lms/startup.py
+2
-2
No files found.
lms/startup.py
View file @
a93ef64a
...
...
@@ -42,8 +42,8 @@ def enable_theme():
theme_root
=
settings
.
ENV_ROOT
/
"themes"
/
settings
.
THEME_NAME
# Include the theme's templates in the template search paths
settings
.
TEMPLATE_DIRS
.
append
(
theme_root
/
'templates'
)
settings
.
MAKO_TEMPLATES
[
'main'
]
.
append
(
theme_root
/
'templates'
)
settings
.
TEMPLATE_DIRS
.
insert
(
0
,
theme_root
/
'templates'
)
settings
.
MAKO_TEMPLATES
[
'main'
]
.
insert
(
0
,
theme_root
/
'templates'
)
edxmako
.
startup
.
run
()
# Namespace the theme's static files to 'themes/<theme_name>' to
...
...
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