# Maintenance Dashboard urlpatterns += patterns( '', url(r'^maintenance/', include('maintenance.urls', namespace='maintenance')), ) urlpatterns += ( # These views use a configuration model to determine whether or not to # display the Programs authoring app. If disabled, a 404 is returned. url(r'^programs/id_token/$', ProgramsIdTokenView.as_view(), name='programs_id_token'), # Drops into the Programs authoring app, which handles its own routing. url(r'^program/', ProgramAuthoringView.as_view(), name='programs'), ) if settings.DEBUG: try: from .urls_dev import urlpatterns as dev_urlpatterns urlpatterns += dev_urlpatterns except ImportError: pass if 'debug_toolbar' in settings.INSTALLED_APPS: import debug_toolbar urlpatterns += (url(r'^__debug__/', include(debug_toolbar.urls)), ) # Custom error pages # These are used by Django to render these error codes. Do not remove.
), url( r"^certificates/{}$".format(settings.COURSE_KEY_PATTERN), "contentstore.views.certificates.certificates_list_handler", ), ) # Maintenance Dashboard urlpatterns += patterns("", url(r"^maintenance/", include("maintenance.urls", namespace="maintenance"))) urlpatterns += ( # These views use a configuration model to determine whether or not to # display the Programs authoring app. If disabled, a 404 is returned. url(r"^programs/id_token/$", ProgramsIdTokenView.as_view(), name="programs_id_token"), # Drops into the Programs authoring app, which handles its own routing. url(r"^program/", ProgramAuthoringView.as_view(), name="programs"), ) if settings.DEBUG: try: from .urls_dev import urlpatterns as dev_urlpatterns urlpatterns += dev_urlpatterns except ImportError: pass if "debug_toolbar" in settings.INSTALLED_APPS: import debug_toolbar urlpatterns += (url(r"^__debug__/", include(debug_toolbar.urls)),)
url(r'^certificates/{}$'.format(settings.COURSE_KEY_PATTERN), 'contentstore.views.certificates.certificates_list_handler') ) # Maintenance Dashboard urlpatterns += patterns( '', url(r'^maintenance/', include('maintenance.urls', namespace='maintenance')), ) urlpatterns += ( # These views use a configuration model to determine whether or not to # display the Programs authoring app. If disabled, a 404 is returned. url(r'^programs/id_token/$', ProgramsIdTokenView.as_view(), name='programs_id_token'), # Drops into the Programs authoring app, which handles its own routing. url(r'^program/', ProgramAuthoringView.as_view(), name='programs'), ) if settings.DEBUG: try: from .urls_dev import urlpatterns as dev_urlpatterns urlpatterns += dev_urlpatterns except ImportError: pass if 'debug_toolbar' in settings.INSTALLED_APPS: import debug_toolbar urlpatterns += ( url(r'^__debug__/', include(debug_toolbar.urls)), )