mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 13:19:16 -05:00
secret settings
This commit is contained in:
29
Recipies/secret_settings.template
Normal file
29
Recipies/secret_settings.template
Normal file
@@ -0,0 +1,29 @@
|
||||
"""
|
||||
Setting file for secret settings
|
||||
imported by settings.py
|
||||
|
||||
TEMPLATE FILE: remove .template extension and fill in missing values
|
||||
"""
|
||||
|
||||
import os
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
# defined in secret settings to be able to use local sqlite db's
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = ''
|
||||
|
||||
# Database
|
||||
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
}
|
||||
}
|
||||
|
||||
# Dropbox API access token
|
||||
# see https://www.dropbox.com/developers/documentation/http/documentation for more info
|
||||
DROPBOX_API_KEY = ""
|
||||
Reference in New Issue
Block a user