Fix django-extensions add

This commit is contained in:
Griatch 2020-12-09 16:45:39 +01:00
parent ca78155aca
commit bbfae81e22

View file

@ -980,7 +980,7 @@ MESSAGE_TAGS = {messages.ERROR: "danger"}
try:
import django_extensions # noqa
INSTALLED_APPS = INSTALLED_APPS.append("django_extensions")
INSTALLED_APPS += ["django_extensions"]
except ImportError:
# Django extensions are not installed in all distros.
pass