-
Notifications
You must be signed in to change notification settings - Fork 0
/
local_settings.py
56 lines (46 loc) · 1.32 KB
/
local_settings.py
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
52
53
54
55
56
## Debug settings
DEBUG = False
#DEBUG_TOOLBAR = True
## For django debug toolbar
INTERNAL_IPS = ('127.0.0.1',)
## Notification admins
ADMINS = (
# ('Name Admin', 'name@example.com'),
)
## PostgreSQL Database settings
#DATABASES = {
# 'default': {
# 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
# 'NAME' : 'vanir',
# 'USER' : 'vaniros',
# 'PASSWORD': 'vaniros',
# 'HOST' : '',
# 'PORT' : '',
# },
#}
## Sqlite Database settings
DATABASES = {
'default': {
'ENGINE' : 'django.db.backends.sqlite3',
'NAME' : 'database.db',
},
}
## Define cache settings
CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.dummy.DummyCache',
#'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
#'LOCATION': '127.0.0.1:11211',
}
}
## Use secure session cookies? Make this true if you want all
## logged-in actions to take place over HTTPS only. If developing
## locally, you will want to use False.
SESSION_COOKIE_SECURE = False
## location for saving dev pictures
MEDIA_ROOT = '/srv/example.com/img/'
## web url for serving image files
MEDIA_URL = '/media/img/'
## Make this unique, and don't share it with anybody.
SECRET_KEY = '00000000000000000000000000000000000000000000000'
# vim: set ts=4 sw=4 et: