fix(api): Avoid the creation of users using djangos createsuperuser command

This commit is contained in:
Georg Krause 2023-06-07 09:31:59 +02:00 committed by JuniorJPDJ
commit a46c8e7f41
3 changed files with 27 additions and 2 deletions

View file

@ -281,9 +281,9 @@ ADDITIONAL_APPS = env.list("ADDITIONAL_APPS", default=[])
List of Django apps to load in addition to Funkwhale plugins and apps.
"""
INSTALLED_APPS = (
DJANGO_APPS
LOCAL_APPS
+ DJANGO_APPS
+ THIRD_PARTY_APPS
+ LOCAL_APPS
+ tuple(ADDITIONAL_APPS)
+ tuple(plugins.trigger_filter(plugins.PLUGINS_APPS, [], enabled=True))
)