| |
@@ -9,7 +9,8 @@
|
| |
# For clean_pyc to work without complaining
|
| |
BASE_DIR = PROJECT_DIR
|
| |
|
| |
- DEBUG = False
|
| |
+ # DEBUG = False
|
| |
+ DEBUG = True
|
| |
|
| |
ADMINS = (
|
| |
('Anna Philips', 'algogator@fedoraproject.org'),
|
| |
@@ -69,8 +70,22 @@
|
| |
'django.middleware.common.CommonMiddleware',
|
| |
'django.middleware.csrf.CsrfViewMiddleware',
|
| |
'django.contrib.messages.middleware.MessageMiddleware',
|
| |
+ 'debug_toolbar.panels.versions.VersionsPanel' , 'debug_toolbar.panels.timer.TimerPanel' ,
|
| |
+ 'debug_toolbar.panels.settings.SettingsPanel' , 'debug_toolbar.panels.headers.HeadersPanel' ,
|
| |
+ 'debug_toolbar.panels.request.RequestPanel' , 'debug_toolbar.panels.sql.SQLPanel' ,
|
| |
+ 'debug_toolbar.panels.staticfiles.StaticFilesPanel' , 'debug_toolbar.panels.templates.TemplatesPanel' ,
|
| |
+ 'debug_toolbar.panels.cache.CachePanel' , 'debug_toolbar.panels.signals.SignalsPanel' ,
|
| |
+ 'debug_toolbar.panels.logging.LoggingPanel' , 'debug_toolbar.panels.redirects.RedirectsPanel'
|
| |
]
|
| |
|
| |
+
|
| |
+ """
|
| |
+ function to get the django debug toolbar
|
| |
+ """
|
| |
+ def show_toolbar(request):
|
| |
+ return True
|
| |
+
|
| |
+ DEBUG_TOOLBAR_CONFIG={'INTERCEPT_REDIRECT': False , 'SHOW_TOOLBAR_CALLBACK': show_toolbar , }
|
| |
ROOT_URLCONF = 'happinesspackets.urls'
|
| |
|
| |
# Python dotted path to the WSGI application used by Django's runserver.
|
| |