fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updates: celery-3.1, getpaid-1.6, taggit-0.12.
[prawokultury.git]
/
prawokultury
/
settings.d
/
50-contrib.py
diff --git
a/prawokultury/settings.d/50-contrib.py
b/prawokultury/settings.d/50-contrib.py
index
906c9dc
..
050558a
100644
(file)
--- 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
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_EAGER_PROPAGATES_EXCEPTIONS = True
CELERY_SEND_TASK_ERROR_EMAILS = True
+CELERY_TASK_SERIALIZER = 'json'
+CELERY_ACCEPT_CONTENT = ['json']
+
+SOUTH_MIGRATION_MODULES = {
+ 'getpaid' : 'prawokultury.migrations.getpaid',
+ 'payu': 'prawokultury.migrations.getpaid_payu',
+ 'taggit': 'taggit.south_migrations',
+}