diff --git a/openshift/templates/openshift/index.html b/openshift/templates/openshift/index.html index b2215ed..c634822 100644 --- a/openshift/templates/openshift/index.html +++ b/openshift/templates/openshift/index.html @@ -39,7 +39,8 @@
- You can see more information about this request using the toolbar on the right.
+ If you are running Django's development server in your local host, you can see more information
+ about this request using the toolbar on the right.
Please note that by default your Django settings have DEBUG = True
and that is not appropriate for production use,
but very handy during development.
Refer to the Deployment Checklist
diff --git a/project/settings.py b/project/settings.py
index 79fb39d..635a478 100644
--- a/project/settings.py
+++ b/project/settings.py
@@ -120,15 +120,3 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
-
-
-# Django Debug Toolbar settings
-
-DEBUG_TOOLBAR_CONFIG = {
- 'SHOW_TOOLBAR_CALLBACK': 'project.settings.show_debug_toolbar',
-}
-
-def show_debug_toolbar(request):
- if request.is_ajax():
- return False
- return bool(DEBUG)