summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-10-21 10:13:14 -0300
committerAdolfo Fitoria <adolfo.fitoria@gmail.com>2011-10-21 10:13:14 -0300
commit1aa50bbe284c2fbc092636f6d114e1a76760f01e (patch)
tree058de571bd561443c674f5d2201131a86cfac97a
parentcde445c0bf53b4ee77b7c09aaf4efbc804948625 (diff)
downloadaskbot-1aa50bbe284c2fbc092636f6d114e1a76760f01e.tar.gz
askbot-1aa50bbe284c2fbc092636f6d114e1a76760f01e.tar.bz2
askbot-1aa50bbe284c2fbc092636f6d114e1a76760f01e.zip
changed celery broker setting name
-rw-r--r--askbot/setup_templates/settings.py4
-rw-r--r--askbot/setup_templates/settings.py.mustache2
2 files changed, 3 insertions, 3 deletions
diff --git a/askbot/setup_templates/settings.py b/askbot/setup_templates/settings.py
index 83fe9997..dcdcb8a4 100644
--- a/askbot/setup_templates/settings.py
+++ b/askbot/setup_templates/settings.py
@@ -208,11 +208,11 @@ ALLOW_UNICODE_SLUGS = False
ASKBOT_USE_STACKEXCHANGE_URLS = False #mimic url scheme of stackexchange
#Celery Settings
-BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
+BROKER_TRANSPORT = "djkombu.transport.DatabaseTransport"
CELERY_ALWAYS_EAGER = True
import djcelery
djcelery.setup_loader()
-CSRF_COOKIE_NAME = 'askbot_scrf'
+CSRF_COOKIE_NAME = 'askbot_csrf'
CSRF_COOKIE_DOMAIN = ''#enter domain name here - e.g. example.com
diff --git a/askbot/setup_templates/settings.py.mustache b/askbot/setup_templates/settings.py.mustache
index 18f9ac94..82d42377 100644
--- a/askbot/setup_templates/settings.py.mustache
+++ b/askbot/setup_templates/settings.py.mustache
@@ -207,7 +207,7 @@ ALLOW_UNICODE_SLUGS = False
ASKBOT_USE_STACKEXCHANGE_URLS = False #mimic url scheme of stackexchange
#Celery Settings
-BROKER_BACKEND = "djkombu.transport.DatabaseTransport"
+BROKER_TRANSPORT= "djkombu.transport.DatabaseTransport"
CELERY_ALWAYS_EAGER = True
import djcelery