coloca a página de admin como variável do ambiente

This commit is contained in:
2025-06-18 11:12:57 -04:00
parent 1e018e7b07
commit e683129567

View File

@ -82,7 +82,7 @@ THIRD_PARTY_APPS = [
LOCAL_APPS = [
"diarios_oficiais_search_alems.users",
# Your stuff: custom apps go here
"diarios",
]
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
@ -225,7 +225,7 @@ EMAIL_TIMEOUT = 5
# ADMIN
# ------------------------------------------------------------------------------
# Django Admin URL.
ADMIN_URL = "admin/"
ADMIN_URL = env.str("DJANGO_ADMIN_URL", "/admin")
# https://docs.djangoproject.com/en/dev/ref/settings/#admins
ADMINS = [("""Antonio Roberto""", "antoniorobertojunior96@gmail.com")]
# https://docs.djangoproject.com/en/dev/ref/settings/#managers