From 306ec1f9f07bf48aff8ee53e98fae800bf572008 Mon Sep 17 00:00:00 2001 From: Nimisha Asthagiri Date: Mon, 8 Jan 2018 21:14:42 -0500 Subject: [PATCH] Update theming app to be a Django App Plugin --- openedx/core/djangoapps/theming/apps.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openedx/core/djangoapps/theming/apps.py b/openedx/core/djangoapps/theming/apps.py index 0b9fcf1ecd..9ea4f5c2d7 100644 --- a/openedx/core/djangoapps/theming/apps.py +++ b/openedx/core/djangoapps/theming/apps.py @@ -1,9 +1,19 @@ from django.apps import AppConfig +from openedx.core.djangolib.django_plugins import ProjectType, PluginURLs + + +plugin_urls_config = {PluginURLs.NAMESPACE: u'theming', PluginURLs.REGEX: u'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):