From 4f7f181a42ef632706bd37598594fb0b80a8b7e1 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Sat, 27 Feb 2021 23:24:06 +0000 Subject: [PATCH] fix pipeline --- api/tacticalrmm/tacticalrmm/settings.py | 3 +++ 1 file changed, 3 insertions(+) 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",