X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/b74a8ca3378d9c4e377fa25109a48d034a9bf959..bbeab7326f5c1baafa47ae4627a6a32a897967e7:/prawokultury/settings.d/50-contrib.py diff --git a/prawokultury/settings.d/50-contrib.py b/prawokultury/settings.d/50-contrib.py index 55c9811..4625e79 100644 --- a/prawokultury/settings.d/50-contrib.py +++ b/prawokultury/settings.d/50-contrib.py @@ -15,3 +15,25 @@ GRAVATAR_DEFAULT_IMAGE = 'http://localhost:8000/static/img/avatar.png' CAS_SERVER_URL = 'http://logowanie.nowoczesnapolska.org.pl/cas/' CAS_VERSION = '1' + +HONEYPOT_FIELD_NAME='miut' + +TAGGIT_AUTOSUGGEST_MODEL = ('questions', 'Tag') + +GETPAID_BACKENDS = ( + 'getpaid.backends.payu', +) + + +import djcelery +djcelery.setup_loader() + +BROKER_BACKEND = "djkombu.transport.DatabaseTransport" +BROKER_HOST = "localhost" +BROKER_PORT = 5672 +BROKER_USER = "guest" +BROKER_PASSWORD = "guest" +BROKER_VHOST = "/" + +CELERY_EAGER_PROPAGATES_EXCEPTIONS = True +CELERY_SEND_TASK_ERROR_EMAILS = True