· 7 years ago · Dec 31, 2018, 09:52 AM
1ALLOWED_HOSTS = ["you.example.org"]
2
3DEBUG = True
4
5DATABASES = {
6 "default": {
7 "ENGINE": "django.db.backends.mysql",
8 "NAME": "",
9 "USER": "",
10 "PASSWORD": "",
11 "HOST": "localhost",
12 "PORT": "3306",
13 "OPTIONS": {
14 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"
15 }
16 }
17}
18
19STATIC_ROOT = "/var/www/your_project/wholestatic"
20
21SECRET_KEY = "" # 50 chars secret key