Files
edx-platform/openedx/core/djangoapps/theming/apps.py
2019-07-09 14:37:36 +05:00

24 lines
615 B
Python

from __future__ import absolute_import
from django.apps import AppConfig
from openedx.core.djangoapps.plugins.constants import PluginURLs, ProjectType
plugin_urls_config = {PluginURLs.NAMESPACE: u'theming', PluginURLs.REGEX: r'^theming/'}
class ThemingConfig(AppConfig):
name = 'openedx.core.djangoapps.theming'
plugin_app = {
PluginURLs.CONFIG: {
ProjectType.CMS: plugin_urls_config,
ProjectType.LMS: plugin_urls_config,
}
}
verbose_name = "Theming"
def ready(self):
# settings validations related to theming.
from . import checks