Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
1bf92403
Commit
1bf92403
authored
Jul 15, 2015
by
Arnaud Fabre
Browse files
debug toolbar only in local
parent
bd985972
Changes
1
Hide whitespace changes
Inline
Side-by-side
memopol/settings.py
View file @
1bf92403
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment