Move performance.views to its own urls.py.
This commit is contained in:
@@ -35,7 +35,8 @@ urlpatterns = (
|
||||
# Event tracking endpoints
|
||||
url(r'', include('track.urls')),
|
||||
|
||||
url(r'^performance$', 'openedx.core.djangoapps.performance.views.performance_log'),
|
||||
# Performance endpoints
|
||||
url(r'', include('openedx.core.djangoapps.performance.urls')),
|
||||
|
||||
# TODO: Is this used anymore? What is STATIC_GRAB?
|
||||
url(r'^t/(?P<template>[^/]*)$', 'static_template_view.views.index'),
|
||||
|
||||
11
openedx/core/djangoapps/performance/urls.py
Normal file
11
openedx/core/djangoapps/performance/urls.py
Normal file
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
URLs for performance app
|
||||
"""
|
||||
|
||||
from django.conf.urls import patterns, url
|
||||
|
||||
urlpatterns = patterns(
|
||||
'openedx.core.djangoapps.performance.views',
|
||||
|
||||
url(r'^performance$', 'performance_log'),
|
||||
)
|
||||
Reference in New Issue
Block a user