Files
edx-platform/openedx/core/djangoapps/theming/urls.py
Mohammad Ahtasham ul Hassan a838ab4b01 fix: fixed django4 warnings (#29643)
2022-03-04 15:03:02 +05:00

25 lines
517 B
Python

"""
Defines URLs for theming views.
"""
from django.urls import path
from . import helpers
from . import views
app_name = "openedx.core.djangoapps.theming"
urlpatterns = [
path(
"asset/<path:path>",
views.themed_asset,
name="openedx.theming.asset",
),
]
if helpers.is_comprehensive_theming_enabled():
urlpatterns += [
path('admin', views.ThemingAdministrationFragmentView.as_view(),
name="openedx.theming.update_theme_fragment_view",
),
]