fix pipeline

This commit is contained in:
wh1te909 2021-02-27 23:24:06 +00:00
parent b7dd8737a7
commit 4f7f181a42
1 changed files with 3 additions and 0 deletions

View File

@ -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",