modified settings
rodzic
f56705ee4e
commit
dea535f49a
|
@ -93,7 +93,7 @@ import dj_database_url as db_url
|
|||
|
||||
DATABASES = {
|
||||
"default": db_url.parse(
|
||||
"postgres://comfy:password@db/comfy_shop"
|
||||
os.environ.get("DATABASE_URL")
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,10 @@ from .base import *
|
|||
|
||||
DEBUG = False
|
||||
|
||||
try:
|
||||
from .local import *
|
||||
except ImportError:
|
||||
pass
|
||||
SECRET_KEY = os.environ.get("SECRET_KEY")
|
||||
ALLOWED_HOSTS = [
|
||||
"91.195.93.3",
|
||||
"localhost",
|
||||
"0.0.0.0",
|
||||
"127.0.0.1"
|
||||
]
|
||||
|
|
Ładowanie…
Reference in New Issue