Files
edx-platform/openedx/core/djangoapps/theming/urls.py
2017-12-05 14:22:30 -05:00

21 lines
443 B
Python

"""
Defines URLs for theming views.
"""
from django.conf.urls import url
from .helpers import is_comprehensive_theming_enabled
from .views import ThemingAdministrationFragmentView
if is_comprehensive_theming_enabled():
urlpatterns = [
url(
r'^admin',
ThemingAdministrationFragmentView.as_view(),
name='openedx.theming.update_theme_fragment_view',
),
]
else:
urlpatterns = []