-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.py
More file actions
51 lines (38 loc) · 1.05 KB
/
Copy pathsettings.py
File metadata and controls
51 lines (38 loc) · 1.05 KB
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
45
46
47
48
49
50
51
import os
### App Settings ###
AGGREGATE_STALE = 60 * 5 # 5 minutes
EXTRA_APPS = ( 'aggregate', )
### Project Settings ###
DEBUG = False
TEMPLATE_DEBUG = DEBUG
DATABASE_ENGINE = ''
DATABASE_NAME = ''
DATABASE_USER = ''
DATABASE_PASSWORD = ''
TIME_ZONE = 'America/Chicago'
LANGUAGE_CODE = 'en-us'
SECRET_KEY = 'sl3p+a4ir7l(6+-hujwjjmzbe!41zzom_-90*wpqas5aup$b8*'
SITE_ID = 1
MEDIA_ROOT = os.path.abspath( os.path.join(__file__, '..', 'media') )
MEDIA_URL = '/media/'
ADMIN_MEDIA_PREFIX = '/admin/media/'
TEMPLATE_LOADERS = (
'django.template.loaders.app_directories.load_template_source',
)
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
ROOT_URLCONF = 'urls'
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.admin',
) + EXTRA_APPS
### Local Settings ###
try:
from settings_local import *
except ImportError:
pass