Commit 4b612d19 authored by Mickaël Desfrênes's avatar Mickaël Desfrênes
Browse files

Use AppConfig for AUTO_REGISTER_APPS

parent e314350f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ SHOW_SQL = True if os.getenv("JAMA_SHOW_SQL", False) == "1" else False
AUTO_REGISTER_APPS = []
for app in os.getenv("JAMA_APPS", "").split(","):
    if app:
        INSTALLED_APPS.append(app)
        INSTALLED_APPS.append(f"{app}.apps.{app.capitalize()}Config")
        AUTO_REGISTER_APPS.append(app)

if DEBUG: