2017-11-20 16:12:09 +00:00
|
|
|
from .base import *
|
|
|
|
|
|
|
|
# Production settings
|
|
|
|
# See babybuddy.settings.base for additional settings information.
|
|
|
|
|
2022-02-10 00:00:30 +00:00
|
|
|
SECRET_KEY = ""
|
2017-11-20 16:12:09 +00:00
|
|
|
|
2022-02-10 00:00:30 +00:00
|
|
|
ALLOWED_HOSTS = [""]
|
2017-11-20 16:12:09 +00:00
|
|
|
|
|
|
|
# Database
|
2022-02-21 23:39:38 +00:00
|
|
|
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
|
2017-11-20 16:12:09 +00:00
|
|
|
|
|
|
|
DATABASES = {
|
2022-02-10 00:00:30 +00:00
|
|
|
"default": {
|
|
|
|
"ENGINE": "django.db.backends.sqlite3",
|
|
|
|
"NAME": os.path.join(BASE_DIR, "../data/db.sqlite3"),
|
2017-11-20 16:12:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-19 16:49:45 +00:00
|
|
|
# Media files
|
2022-02-21 23:39:38 +00:00
|
|
|
# https://docs.djangoproject.com/en/4.0/topics/files/
|
2017-11-20 16:12:09 +00:00
|
|
|
|
2022-02-10 00:00:30 +00:00
|
|
|
MEDIA_ROOT = os.path.join(BASE_DIR, "../data/media")
|
2021-07-31 12:50:56 +00:00
|
|
|
|
|
|
|
# Security
|
|
|
|
# After setting up SSL, uncomment the settings below for enhanced security of
|
|
|
|
# application cookies.
|
|
|
|
#
|
2022-02-21 23:39:38 +00:00
|
|
|
# See https://docs.djangoproject.com/en/4.0/topics/http/sessions/#settings
|
|
|
|
# See https://docs.djangoproject.com/en/4.0/ref/csrf/#settings
|
2021-07-31 12:50:56 +00:00
|
|
|
|
|
|
|
# SESSION_COOKIE_SECURE = True
|
|
|
|
# CSRF_COOKIE_SECURE = True
|