minor change
This commit is contained in:
parent
06572f0bb5
commit
8622002e8d
1 changed files with 1 additions and 3 deletions
|
@ -192,9 +192,7 @@ def show_toolbar(request):
|
|||
machine physique n'est pas forcément connue, et peut difficilement être
|
||||
mise dans les INTERNAL_IPS.
|
||||
"""
|
||||
if not DEBUG:
|
||||
return False
|
||||
return True
|
||||
return DEBUG
|
||||
|
||||
DEBUG_TOOLBAR_CONFIG = {
|
||||
'SHOW_TOOLBAR_CALLBACK': show_toolbar,
|
||||
|
|
Loading…
Reference in a new issue