local changes from server
[prawokultury.git] / prawokultury / settings.d / 50-contrib.py
index 906c9dc..5e34fe8 100644 (file)
@@ -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',
+}