mybuddy/babybuddy/settings/production.example.py

34 lines
811 B
Python
Raw Normal View History

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
# 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
# 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")
# Security
# After setting up SSL, uncomment the settings below for enhanced security of
# application cookies.
#
# See https://docs.djangoproject.com/en/4.0/topics/http/sessions/#settings
# See https://docs.djangoproject.com/en/4.0/ref/csrf/#settings
# SESSION_COOKIE_SECURE = True
# CSRF_COOKIE_SECURE = True