-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings_local.py.example
64 lines (47 loc) · 1.31 KB
/
settings_local.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
#!/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 = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
('reg', '[email protected]'),
)
DATABASES = {'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'unfpa',
'USER': 'unfpa',
'PASSWORD': 'unfpa',
'HOST': 'localhost'},
'smsd': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'unfpasms',
'USER': 'unfpasms',
'PASSWORD': 'unfpasms',
'HOST': 'localhost'}}
TIME_ZONE = 'Africa/Bamako'
LANGUAGE_CODE = 'fr-fr'
MEDIA_ROOT = os.path.join(ROOT_DIR, 'media')
MEDIA_URL = ''
import unfpa_web
STATIC_ROOT = os.path.join(os.path.dirname( \
os.path.abspath(unfpa_web.__file__)), 'static')
STATIC_URL = '/static/'
#ADMIN_MEDIA_PREFIX = '/admin_static/'
# change that one!
SECRET_KEY = 'HOLY_COW_CHANGE_THAT'
TEMPLATE_DIRS = ()
EMAIL_HOST = 'localhost'
EMAIL_PORT = 1025
#EMAIL_USE_TLS = True
#EMAIL_HOST = 'smtp.gmail.com'
#EMAIL_PORT = 587
#EMAIL_HOST_USER = '[email protected]'
#EMAIL_HOST_PASSWORD = ""
EMAIL_SENDER = "ANTIM <[email protected]>"
HOTLINE_NUMBER = "65731076"
HOTLINE_EMAIL = "[email protected]"
SUPPORT_CONTACTS = [('antim', u"ANTIM", '[email protected]')]
USE_HTTPS = True