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.
SECRET_KEY = ''
ALLOWED_HOSTS = ['']
# Database
2020-01-19 16:49:45 +00:00
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
2017-11-20 16:12:09 +00:00
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, '../data/db.sqlite3'),
}
}
2020-01-19 16:49:45 +00:00
# Media files
# https://docs.djangoproject.com/en/3.0/topics/files/
2017-11-20 16:12:09 +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/3.2/topics/http/sessions/#settings
# See https://docs.djangoproject.com/en/3.2/ref/csrf/#settings
# SESSION_COOKIE_SECURE = True
# CSRF_COOKIE_SECURE = True