forked from uid/caesar-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings_local.py.template
44 lines (33 loc) · 1.52 KB
/
settings_local.py.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Secret key used by Django for various crypto purposes. Don't let it leak out.
# deployment: replace changeme with a key generated by http://www.miniwebtool.com/django-secret-key-generator/
SECRET_KEY = "changeme"
# development: turn on the debugging toolbar and get exceptions displayed in the browser.
# deployment: set this to False to avoid showing debugging info to users
DEBUG = TEMPLATE_DEBUG = True
DATABASES = {
'default': {
# development: use a local SQLite file as the database.
'ENGINE': 'django.db.backends.sqlite3',
'NAME': '/var/django/db/caesar.sqlite3', # see Vagrantfile for explanation of why it's put here
# deployment: use a database server.
# 'ENGINE': 'django.db.backends.mysql',
# 'OPTIONS': {'charset': 'utf8mb4'},
# *** warning *** : you should create your MySql database with default character set
# 'utf8mb4', otherwise you won't be able to upload source files or make reviewer
# comments containing Unicode chars and emojis. See README.markdown for more information.
# 'NAME': '',
# 'USER': '',
# 'PASSWORD': '',
# 'HOST': '',
# 'PORT': '',
}
}
ALLOWED_HOSTS = [
# deployment: put your deployment hostname(s) here
# e.g. "caesar.nowhere.edu"
]
MANAGERS = ADMINS = (
# deployment: list the people who should get emailed error reports from the server here.
# Only used if DEBUG is False.
# ('Ben Bitdiddle', 'benbitdiddle@nowhere.edu')
)