2481aa9baa1d6065aa0e46274c08adb1e925198e
[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 GETPAID_ORDER_MODEL = 'shop.Order'
30
31 PIWIK_URL = ''
32 PIWIK_SITE_ID = 0
33
34
35 BROKER_URL = 'django://'
36 CELERY_RESULT_BACKEND='djcelery.backends.database:DatabaseBackend'
37 CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
38 CELERY_SEND_TASK_ERROR_EMAILS = True
39 CELERY_TASK_SERIALIZER = 'json'
40 CELERY_ACCEPT_CONTENT = ['json']