Commit 6e9e9c76 by Piotr Mitros

Slightly better name. PROFILE to PERFSTATS

parent 36281387
......@@ -13,7 +13,7 @@ DEFAULT_FEEDBACK_EMAIL = 'feedback@mitx.mit.edu'
WIKI_REQUIRE_LOGIN_EDIT = True
WIKI_REQUIRE_LOGIN_VIEW = True
PROFILE = False
PERFSTATS = False
HTTPS = 'on'
......@@ -137,7 +137,7 @@ MAXLOG = 500
execfile("../settings.py")
if PROFILE :
if PERFSTATS :
MIDDLEWARE_CLASSES = ( 'perfstats.middleware.ProfileMiddleware',) + MIDDLEWARE_CLASSES
if 'TRACK_DIR' not in locals():
......
......@@ -31,7 +31,7 @@ urlpatterns = ('',
url(r'^courseware/$', 'courseware.views.index'),
)
if settings.PROFILE:
if settings.PERFSTATS:
urlpatterns=urlpatterns + (url(r'^reprofile$','perfstats.views.end_profile'),)
if settings.COURSEWARE_ENABLED:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment