61
61
ROOT_URLCONF = 'urls'
64
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
65
# Always use forward slashes, even on Windows.
66
# Don't forget to use absolute paths, not relative paths.
67
# '/var/www/django_projects/widelands/templates',
63
#TEMPLATE_DIRS = () are now managed in TEMPLATES (Febr. 2016)
65
# List of finder classes that know how to find static files in
67
STATICFILES_FINDERS = [
68
"django.contrib.staticfiles.finders.FileSystemFinder",
69
"django.contrib.staticfiles.finders.AppDirectoriesFinder",
71
73
'django.contrib.admin',
72
74
'django.contrib.auth',
73
75
'django.contrib.contenttypes',
74
76
'django.contrib.sessions',
75
# 'django.contrib.messages',
77
'django.contrib.messages',
76
78
'django.contrib.staticfiles',
77
79
'django.contrib.sites',
78
# 'django.contrib.markup',
80
# 'django.contrib.markup', # doesn't exist anymore
79
81
'django.contrib.humanize',
81
# TODO: only temporary for webdesign stuff
82
'django.contrib.webdesign',
83
83
# Thirdparty apps, but need preload
87
87
'wiki.templatetags.restructuredtext',
105
105
'pybb', # Feature enriched version of pybb
107
107
# Thirdparty apps
108
'pinax.notifications', # Formerly notification, see next entry
108
110
'threadedcomments',
109
111
'django_messages',
110
112
'registration', # User registration (per Email validation)
114
115
# 'djangoratings', #No longer maintained
116
117
# 'south', Not longer supprted
139
140
'BACKEND': 'django.template.backends.django.DjangoTemplates',
140
141
'DIRS': [os.path.join(BASE_DIR, 'templates')],
143
145
'context_processors': [
144
146
'django.template.context_processors.debug',
145
147
'django.template.context_processors.request',
150
152
'django.core.context_processors.media',
151
153
'django.template.context_processors.static',
152
154
'django.template.context_processors.tz',
153
'django_messages.context_processors.inbox'
155
'django_messages.context_processors.inbox',
156
'django.template.loaders.filesystem.Loader',
157
'django.template.loaders.app_directories.Loader',
163
161
# Static files (CSS, JavaScript, Images)
164
162
# https://docs.djangoproject.com/en/1.8/howto/static-files/
166
163
STATIC_URL = '/static/'
165
#https://pypi.python.org/pypi/django-threadedcomments v 1.0.1
166
COMMENTS_APP = 'threadedcomments'
168
168
############################
169
169
# Activation configuration #
170
170
############################
181
181
######################
182
182
# User configuration #
183
183
######################
184
AUTH_PROFILE_MODULE = 'wlprofile.Profile'
184
AUTH_PROFILE_MODULE = 'wlprofile.Profile' # NOCOMM: Must we change that?
185
186
DEFAULT_TIME_ZONE = 3
186
187
DEFAULT_TIME_DISPLAY = r"%ND(Y-m-d,) H:i" # According to ISO 8601
187
188
DEFAULT_MARKUP = 'markdown'
296
297
## Use allways the form ('name', 'Email') ##
297
298
##############################################
298
299
INQUIRY_RECIPIENTS = [
299
('franku', 'somal@arcor.de'),
300
('bla', 'bulpp@bla.de'),
300
('peter', 'peter@example.com'),
304
305
from local_settings import *
305
306
except ImportError: