~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to settings.py

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
# If running in a Windows environment this must be set to the same as your
32
32
# system time zone.
33
33
TIME_ZONE = 'Europe/Berlin'
34
 
USE_TZ = False # See https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-TIME_ZONE
 
34
USE_TZ = False  # See https://docs.djangoproject.com/en/1.8/ref/settings/#std:setting-TIME_ZONE
35
35
 
36
36
# Language code for this installation. All choices can be found here:
37
37
# http://www.i18nguy.com/unicode/language-identifiers.html
63
63
# List of finder classes that know how to find static files in
64
64
# various locations.
65
65
STATICFILES_FINDERS = [
66
 
    "django.contrib.staticfiles.finders.FileSystemFinder",
67
 
    "django.contrib.staticfiles.finders.AppDirectoriesFinder",
 
66
    'django.contrib.staticfiles.finders.FileSystemFinder',
 
67
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
68
68
]
69
69
 
70
70
INSTALLED_APPS = (
80
80
    'django_comments',
81
81
    'nocaptcha_recaptcha',
82
82
    # Thirdparty apps, but need preload
83
 
    'tracking', # included as wlapp
 
83
    'tracking',  # included as wlapp
84
84
 
85
85
    # Our own apps
86
86
    'wiki.templatetags.restructuredtext',
103
103
    'pybb',  # Feature enriched version of pybb
104
104
 
105
105
    # Thirdparty apps
106
 
    'threadedcomments', # included as wlapp
 
106
    'threadedcomments',  # included as wlapp
107
107
    'notification',     # included as wlapp
108
108
    'django_messages',
109
109
    #'pagination',
110
 
     'linaro_django_pagination',
 
110
    'linaro_django_pagination',
111
111
    'tagging',
112
112
    'djangoratings',    # included as wlapp
113
113
    'sphinxdoc',        # included as wlapp
175
175
######################
176
176
# User configuration #
177
177
######################
178
 
#AUTH_PROFILE_MODULE = 'wlprofile.Profile' # NOCOMM: This is not longer used anymore, see:
 
178
# AUTH_PROFILE_MODULE = 'wlprofile.Profile' # NOCOMM: This is not longer used anymore, see:
179
179
# https://docs.djangoproject.com/en/1.8/releases/1.5/#auth-profile-module
180
180
 
181
181
DEFAULT_TIME_ZONE = 3
317
317
                       u'hr',
318
318
                       u'table', u'tbody', u'thead', u'th', u'tr', u'td',
319
319
                       u'sup',
320
 
]
 
320
                       ]
321
321
 
322
 
BLEACH_ALLOWED_ATTRIBUTES = {'img': ['src', 'alt'], 'a': ['href'], 'td': ['align'], '*': ['class', 'id', 'title']}
 
322
BLEACH_ALLOWED_ATTRIBUTES = {'img': ['src', 'alt'], 'a': [
 
323
    'href'], 'td': ['align'], '*': ['class', 'id', 'title']}
323
324
 
324
325
try:
325
 
   from local_settings import *
 
326
    from local_settings import *
326
327
except ImportError:
327
 
   pass
 
328
    pass
328
329
 
329
330
if USE_SPHINX:
330
 
   INSTALLED_APPS += (
331
 
       'djangosphinx',
332
 
   )
 
331
    INSTALLED_APPS += (
 
332
        'djangosphinx',
 
333
    )