Compare commits
No commits in common. "f8542a6d7ac0cdf379ad0cdfba87179236b3cf06" and "35f364263fa781a459cf3d45a404b3b5d8808751" have entirely different histories.
f8542a6d7a
...
35f364263f
@ -77,24 +77,24 @@ if not DEBUG:
|
|||||||
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https")
|
||||||
|
|
||||||
|
|
||||||
# DATABASES = {
|
|
||||||
# 'default': {
|
|
||||||
# 'ENGINE': 'django.db.backends.sqlite3',
|
|
||||||
# 'NAME': BASE_DIR / 'db.sqlite3',
|
|
||||||
# }
|
|
||||||
# }
|
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
'ENGINE': 'django.db.backends.sqlite3',
|
||||||
'NAME': os.getenv('POSTGRES_DB'),
|
'NAME': BASE_DIR / 'db.sqlite3',
|
||||||
'USER': os.getenv('POSTGRES_USER'),
|
|
||||||
'PASSWORD': os.getenv('POSTGRES_PASSWORD'),
|
|
||||||
'HOST': os.getenv('POSTGRES_HOST', 'postgres'),
|
|
||||||
'PORT': os.getenv('POSTGRES_PORT', 5432),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# DATABASES = {
|
||||||
|
# 'default': {
|
||||||
|
# 'ENGINE': 'django.db.backends.postgresql',
|
||||||
|
# 'NAME': os.getenv('POSTGRES_DB'),
|
||||||
|
# 'USER': os.getenv('POSTGRES_USER'),
|
||||||
|
# 'PASSWORD': os.getenv('POSTGRES_PASSWORD'),
|
||||||
|
# 'HOST': os.getenv('POSTGRES_HOST', 'postgres'),
|
||||||
|
# 'PORT': os.getenv('POSTGRES_PORT', 5432),
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
ENCRYPTION_KEY = os.getenv('ENCRYPTION_KEY')
|
ENCRYPTION_KEY = os.getenv('ENCRYPTION_KEY')
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user