ft_transcendence/settings.py
Adrien Audebert 718d162231 first commit
2024-07-11 15:23:47 +02:00

19 lines
436 B
Python

from decouple import config
SECRET_KEY = config('SECRET_KEY')
INSTALLED_APPS = [
'ft_transcendence',
]
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': config('POSTGRES_DB'),
'USER': config('POSTGRES_USER'),
'PASSWORD': config('POSTGRES_PASSWORD'),
'HOST': config('DB_HOST', default='localhost'),
'PORT': config('DB_PORT', default='3306'),
}
}