1 | import os |
---|
2 | BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) |
---|
3 | |
---|
4 | SECRET_KEY = 'retardedgenericdevkey' |
---|
5 | DEBUG = True |
---|
6 | |
---|
7 | ALLOWED_HOSTS = [] |
---|
8 | |
---|
9 | |
---|
10 | # Application definition |
---|
11 | |
---|
12 | MORE_INSTALLED_APPS = [ |
---|
13 | 'debug_toolbar', |
---|
14 | 'django.contrib.admindocs', |
---|
15 | ] |
---|
16 | MORE_MIDDLEWARE_CLASSES = [] |
---|
17 | |
---|
18 | ROOT_URLCONF = 'chi.dev.urls' |
---|
19 | |
---|
20 | TEMPLATES = [ |
---|
21 | { |
---|
22 | 'BACKEND': 'django.template.backends.django.DjangoTemplates', |
---|
23 | 'DIRS': [ |
---|
24 | os.path.join(BASE_DIR, 'templates'), |
---|
25 | ], |
---|
26 | 'APP_DIRS': True, |
---|
27 | 'OPTIONS': { |
---|
28 | 'context_processors': [ |
---|
29 | 'django.template.context_processors.debug', |
---|
30 | 'django.template.context_processors.request', |
---|
31 | 'django.contrib.auth.context_processors.auth', |
---|
32 | 'django.contrib.messages.context_processors.messages', |
---|
33 | ], |
---|
34 | }, |
---|
35 | }, |
---|
36 | ] |
---|
37 | |
---|
38 | STATICFILES_DIRS = [ |
---|
39 | os.path.join(BASE_DIR, 'dev-static'), |
---|
40 | ] |
---|
41 | STATIC_ROOT = os.path.join(BASE_DIR, 'static') |
---|
42 | |
---|
43 | DATABASES = { |
---|
44 | 'default': { |
---|
45 | 'ENGINE': 'django.db.backends.sqlite3', |
---|
46 | 'NAME': os.path.join(BASE_DIR, 'dev.db.sqlite3'), |
---|
47 | } |
---|
48 | } |
---|
49 | |
---|
50 | LANGUAGE_CODE = 'en-us' |
---|
51 | TIME_ZONE = 'UTC' |
---|
52 | USE_I18N = True |
---|
53 | USE_L10N = True |
---|
54 | USE_TZ = True |
---|
55 | |
---|
56 | STATIC_URL = '/static/' |
---|