-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.py
126 lines (71 loc) · 2.23 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
#
#
# if you do not agree to conditions set forth in README.txt, delete entire directory containing Bellum code and data NOW
#
#
#
DEBUG = True
TEMPLATE_DEBUG = DEBUG
SMF_ENABLED = True # if SMF not enabled, you
# won't need to install SMF
# as Bellum won't run SMF-related routines
SMF_NAME = 'bellum_forum'
SMF_USER = 'root'
SMF_PASS = 'root'
SMF_HOST = 'localhost'
SMF_GROUP_UNALLIED = 5 # unallied SMF group
SMF_GROUP_ALLIED = 6 # allied SMF group
SMF_GROUP_LEADER = 7 # alliance leader SMF group
SMF_POST_GROUP = 4 # a post-dependent group
SMF_CAT_ALLIANCE = 2 # category ID for alliance forums
SMF_SECURITY_PROFILE = 1 # default security profile
DATABASE_ENGINE = 'mysql'
DATABASE_NAME = 'bellum'
DATABASE_USER = 'root'
DATABASE_PASSWORD = 'root'
DATABASE_HOST = 'localhost'
DATABASE_PORT = ''
TIME_ZONE = 'Europe/Warsaw'
LANGUAGE_CODE = 'pl'
SITE_ID = 1
USE_I18N = False
MEDIA_ROOT = 'D:/projects/webapps/bellum/media/' # with trailing /
MEDIA_URL = 'http://bellum.localhost/media/'
SECRET_KEY = 'bydesireandambitiontheresahungestillunsatisfied'
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
# 'django.template.loaders.eggs.load_template_source',
)
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'djangomako.middleware.MakoMiddleware',
'bellum.orders.run.OrderMiddleware',
#'debug_toolbar.middleware.DebugToolbarMiddleware',
)
#INTERNAL_IPS = ('127.0.0.1', )
ROOT_URLCONF = 'bellum.urls'
#DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS':False}
TEMPLATE_DIRS = (
'D:/projects/webapps/bellum/templates/',
# 'C:/Python25/Lib/site-packages/debug_toolbar/templates',
)
INSTALLED_APPS = (
'django.contrib.sessions',
'bellum.common',
'bellum.alliance',
'bellum.register',
'bellum.uprofile',
'bellum.mother',
'bellum.province',
'bellum.orders',
'bellum.chat',
'bellum.space',
'bellum.landarmy',
'bellum.stats',
'bellum.portal',
# 'debug_toolbar',
)
MAKO_OUTPUT_ENCODING = 'utf-8'
CACHE_BACKEND = 'dummy:///'