1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-23 14:17:33 +00:00
Altessimo/altessimo/production.py
2021-06-08 21:23:19 +07:00

17 lines
392 B
Python

from altessimo.settings import *
import os
DEBUG = False
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': os.getenv('ALTESSIMO_DB_NAME'),
'USER': os.getenv('ALTESSIMO_DB_USER'),
'PASSWORD': os.getenv('ALTESSIMO_DB_PASS'),
'HOST': os.getenv('ALTESSIMO_DB_HOST'),
}
}
ALLOWED_HOSTS = [ os.getenv('ALTESSIMO_WEB_URL') ]