Merge pull request #2113 from edx/db/enable-theme-in-startup

Do theme post-processing in startup hook
This commit is contained in:
David Baumgold
2014-01-09 12:19:17 -08:00
5 changed files with 40 additions and 36 deletions

View File

@@ -8,7 +8,7 @@
## templates have access to these functions, and we can import these
## into non-inheriting templates via the %namespace tag.
<%def name="theme_enabled()">
<% return settings.FEATURES["USE_CUSTOM_THEME"] %>
<% return settings.FEATURES.get("USE_CUSTOM_THEME", False) %>
</%def>
<%def name="stanford_theme_enabled()">