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

debug toolbar only in local

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