Make django_extension commands available if installed.

- Legacy-Id: 17318
This commit is contained in:
Henrik Levkowetz 2020-02-20 22:08:47 +00:00
parent 52d21e29cb
commit 0c343b9bbd

View file

@ -450,6 +450,12 @@ INSTALLED_APPS = [
'ietf.secr.telechat',
]
try:
import django_extensions # pyflakes:ignore
INSTALLED_APPS.append('django_extensions')
except ImportError:
pass
# Settings for django-bootstrap3
# See http://django-bootstrap3.readthedocs.org/en/latest/settings.html
BOOTSTRAP3 = {