-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal_settings.py.example
66 lines (50 loc) · 1.33 KB
/
local_settings.py.example
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
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env python
# encoding=utf-8
# ROOT_DIR contains path of this folder.
import os
abs_path = os.path.abspath(__file__)
ROOT_DIR = os.path.dirname(abs_path)
DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
('root', 'root@localhost'),
)
DATABASES = {'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'pnlp2011',
'USER': 'pnlp',
'PASSWORD': 'pnlp',
'HOST': '',
'PORT': ''}}
TIME_ZONE = 'Africa/Bamako'
LANGUAGE_CODE = 'fr-fr'
MEDIA_ROOT = os.path.join(ROOT_DIR, 'media')
MEDIA_URL = ''
import pnlp_web
STATIC_ROOT = os.path.join(os.path.dirname( \
os.path.abspath(pnlp_web.__file__)), 'static')
STATIC_URL = '/static/'
#ADMIN_MEDIA_PREFIX = '/admin_static/'
# change that one!
SECRET_KEY = '________something'
TEMPLATE_DIRS = ()
EMAIL_HOST = 'localhost'
EMAIL_PORT = 25
EMAIL_SENDER = "PNLP <[email protected]>"
HOTLINE_NUMBER = "65731076"
HOTLINE_EMAIL = "[email protected]"
USE_HTTPS = True
SUPPORT_CONTACTS = []
CACHES = {
'dummy': {
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
},
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'none'
},
'memcached': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
}
}