Commit 1bf92403 authored by Arnaud Fabre's avatar Arnaud Fabre
Browse files

debug toolbar only in local

parent bd985972
...@@ -73,14 +73,19 @@ INSTALLED_APPS = ( ...@@ -73,14 +73,19 @@ INSTALLED_APPS = (
'representatives_votes', 'representatives_votes',
'legislature', 'legislature',
'votes', 'votes',
# 'positions'
) )
if DEBUG: if DEBUG:
INSTALLED_APPS += ( INSTALLED_APPS += (
'debug_toolbar', 'django_extensions',
'django_extensions'
) )
if get_param('local'):
INSTALLED_APPS += (
'debug_toolbar',
)
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',
......
Supports Markdown
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