96107bea7820f0d7f5032e1fe317d201e82cbc74
[prawokultury.git] / prawokultury / settings.d / 50-contrib.py
1 from fnpdjango.utils.text.textilepl import textile_pl
2
3 COMMENTS_APP = "django_comments_xtd"
4 COMMENTS_XTD_CONFIRM_EMAIL = False
5
6 MARKUP_FIELD_TYPES = (
7     ('textile_pl', textile_pl),
8 )
9 COMMENTS_XTD_LIST_URL_ACTIVE = True
10 #COMMENTS_XTD_LIST_PAGINATE_BY = 10
11
12 THUMBNAIL_QUALITY = 95
13
14 GRAVATAR_DEFAULT_IMAGE = 'http://localhost:8000/static/img/avatar.png'
15
16 CAS_SERVER_URL = 'https://logowanie.nowoczesnapolska.org.pl/cas/'
17 CAS_VERSION = '2'
18 CAS_APPLY_ATTRIBUTES_TO_USER = True
19 CAS_RENAME_ATTRIBUTES = {
20     'email': 'email', 'firstname': 'first_name', 'lastname': 'last_name'}
21
22 HONEYPOT_FIELD_NAME='miut'
23
24 TAGGIT_AUTOSUGGEST_MODEL = ('questions', 'Tag')
25
26 GETPAID_BACKENDS = (
27     'getpaid.backends.payu',
28 )
29
30 PIWIK_URL = ''
31 PIWIK_SITE_ID = 0
32
33
34 BROKER_URL = 'django://'
35 CELERY_RESULT_BACKEND='djcelery.backends.database:DatabaseBackend'
36 CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
37 CELERY_SEND_TASK_ERROR_EMAILS = True
38 CELERY_TASK_SERIALIZER = 'json'
39 CELERY_ACCEPT_CONTENT = ['json']