coloca a página de admin como variável do ambiente
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user