diff --git a/api/tacticalrmm/tacticalrmm/settings.py b/api/tacticalrmm/tacticalrmm/settings.py index a51f3b99..da973c44 100644 --- a/api/tacticalrmm/tacticalrmm/settings.py +++ b/api/tacticalrmm/tacticalrmm/settings.py @@ -68,6 +68,9 @@ if not "AZPIPELINE" in os.environ: if DEBUG: # type: ignore INSTALLED_APPS += ("django_extensions",) +if "AZPIPELINES" in os.environ: + ADMIN_ENABLED = False + if ADMIN_ENABLED: # type: ignore INSTALLED_APPS += ( "django.contrib.admin",