fix pipeline
This commit is contained in:
parent
b7dd8737a7
commit
4f7f181a42
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue