mybuddy/babybuddy/settings/production.example.py

26 lines
500 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')