Commit ba07dec4 by John Eskew

Move edxmako startup to AppConfig::ready.

parent 6939a581
...@@ -965,7 +965,7 @@ INSTALLED_APPS = [ ...@@ -965,7 +965,7 @@ INSTALLED_APPS = [
'openedx.core.djangoapps.datadog', 'openedx.core.djangoapps.datadog',
# For asset pipelining # For asset pipelining
'edxmako', 'edxmako.apps.EdxMakoConfig',
'pipeline', 'pipeline',
'static_replace', 'static_replace',
'require', 'require',
......
"""
Initialize the mako template lookup
"""
from django.conf import settings
from django.apps import AppConfig
from django.conf import settings
from . import add_lookup, clear_lookups from . import add_lookup, clear_lookups
def run(): class EdxMakoConfig(AppConfig):
name = 'edxmako'
verbose_name = "edX Mako Templating"
def ready(self):
""" """
Setup mako lookup directories. Setup mako lookup directories.
......
...@@ -2039,7 +2039,7 @@ INSTALLED_APPS = [ ...@@ -2039,7 +2039,7 @@ INSTALLED_APPS = [
'status', 'status',
# For asset pipelining # For asset pipelining
'edxmako', 'edxmako.apps.EdxMakoConfig',
'pipeline', 'pipeline',
'static_replace', 'static_replace',
'webpack_loader', 'webpack_loader',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment