misc: remove django-debug-toolbar (#49507)

This commit is contained in:
Emmanuel Cazenave 2021-04-27 16:10:20 +02:00
parent 24e98fdf31
commit 7e2737e61f
3 changed files with 0 additions and 11 deletions

1
debian/control vendored
View File

@ -20,7 +20,6 @@ Suggests: postgresql
Depends: ${python3:Depends},
${misc:Depends},
python3-django (>= 1:1.11),
python3-django-debug-toolbar,
python3-bs4,
python3-django-journal (>= 2.0.0),
python3-django-picklefield (< 2.0.0),

View File

@ -13,7 +13,6 @@ PROJECT_NAME = 'docbow'
# booleans
DEBUG = False
DEBUG_PROPAGATE_EXCEPTIONS = False
USE_DEBUG_TOOLBAR = False
# paths
STATIC_ROOT = '/var/lib/%s/collectstatic' % PROJECT_NAME
STATIC_URL = '/static/'
@ -216,14 +215,6 @@ for logger in LOGGING['loggers'].values():
if DEBUG and not globals()['SECRET_KEY']:
SECRET_KEY = 'coin'
if USE_DEBUG_TOOLBAR:
try:
import debug_toolbar
INSTALLED_APPS += ('debug_toolbar',)
except ImportError:
print("Debug toolbar missing, not loaded")
# syntax checks
for admin in ADMINS:
assert len(admin) == 2, (

View File

@ -103,7 +103,6 @@ setup(
'django>=1.11, <2',
'six<1.11.0',
'typing', # For M2Crypto.util
'django-debug-toolbar<0.9.0',
'gunicorn',
'django_journal>=2.0.0',
'django-picklefield<2.0.0',