Commit b459396f by Őry Máté

celery: also get broker url from env

parent acdf8145
...@@ -9,7 +9,7 @@ import tempfile, os, stat, re, base64, struct, logging ...@@ -9,7 +9,7 @@ import tempfile, os, stat, re, base64, struct, logging
from celery.contrib import rdb from celery.contrib import rdb
BROKER_URL = 'amqp://nyuszi:teszt@localhost:5672/django' BROKER_URL = os.environ['DJANGO_BROKER_URL']
try: try:
from local_settings import * from local_settings import *
except: except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment