X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/fb9502749456c5027d3823cf5a348bb324f42d64..d08b51a20f492d3b62b9494b2dbeba0e162564ce:/prawokultury/settings.d/50-contrib.py diff --git a/prawokultury/settings.d/50-contrib.py b/prawokultury/settings.d/50-contrib.py index 906c9dc..5e34fe8 100644 --- a/prawokultury/settings.d/50-contrib.py +++ b/prawokultury/settings.d/50-contrib.py @@ -27,15 +27,16 @@ GETPAID_BACKENDS = ( PIWIK_URL = '' PIWIK_SITE_ID = 0 -import djcelery -djcelery.setup_loader() - -BROKER_BACKEND = "djkombu.transport.DatabaseTransport" -BROKER_HOST = "localhost" -BROKER_PORT = 5672 -BROKER_USER = "guest" -BROKER_PASSWORD = "guest" -BROKER_VHOST = "/" +BROKER_URL = 'django://' +CELERY_RESULT_BACKEND='djcelery.backends.database:DatabaseBackend' CELERY_EAGER_PROPAGATES_EXCEPTIONS = True CELERY_SEND_TASK_ERROR_EMAILS = True +CELERY_TASK_SERIALIZER = 'json' +CELERY_ACCEPT_CONTENT = ['json'] + +SOUTH_MIGRATION_MODULES = { + 'getpaid' : 'prawokultury.migrations_contrib.getpaid', + 'payu': 'prawokultury.migrations_contrib.getpaid_payu', + 'taggit': 'taggit.south_migrations', +}