Skip to content

Commit 0c343b9

Browse files
committed
Make django_extension commands available if installed.
- Legacy-Id: 17318
1 parent 52d21e2 commit 0c343b9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ietf/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,12 @@ def skip_unreadable_post(record):
450450
'ietf.secr.telechat',
451451
]
452452

453+
try:
454+
import django_extensions # pyflakes:ignore
455+
INSTALLED_APPS.append('django_extensions')
456+
except ImportError:
457+
pass
458+
453459
# Settings for django-bootstrap3
454460
# See http://django-bootstrap3.readthedocs.org/en/latest/settings.html
455461
BOOTSTRAP3 = {

0 commit comments

Comments
 (0)