summaryrefslogtreecommitdiff
path: root/example_project
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-03-17 00:49:22 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-03-17 00:49:22 +0100
commit105149b7810cc459662368d6275e88ba328e44d0 (patch)
tree292c946e593ec6227854f2eee835720bee01ee3b /example_project
parent9a794edbffbb3a178138fac3ded0b516c4ced9a7 (diff)
downloadChimère-105149b7810cc459662368d6275e88ba328e44d0.tar.bz2
Chimère-105149b7810cc459662368d6275e88ba328e44d0.zip
Add import task using celery
Diffstat (limited to 'example_project')
-rw-r--r--example_project/settings.py.example10
1 files changed, 10 insertions, 0 deletions
diff --git a/example_project/settings.py.example b/example_project/settings.py.example
index bbe100b..9b3235b 100644
--- a/example_project/settings.py.example
+++ b/example_project/settings.py.example
@@ -88,6 +88,15 @@ DATABASES = {
},
}
+# celery
+import djcelery
+djcelery.setup_loader()
+BROKER_HOST = "localhost"
+BROKER_PORT = 5672
+BROKER_USER = "guest"
+BROKER_PASSWORD = "guest"
+BROKER_VHOST = "/"
+
# Local time zone for this installation. Choices can be found here:
# http://www.postgresql.org/docs/8.1/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
# although not all variations may be possible on all operating systems.
@@ -177,6 +186,7 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.gis',
'django.contrib.staticfiles',
+ 'djcelery',
'south',
'chimere',
# activate it if you want to use migration scripts