fix celery + djconfig

This commit is contained in:
bakatrouble 2019-01-24 12:48:56 +03:00
parent b785a45a6e
commit 747713bce0

View File

@ -7,6 +7,7 @@ from config.celery import app
@app.task() @app.task()
def execute_feed(feed_pk): def execute_feed(feed_pk):
config._reload_maybe()
from feeds.models import Feed from feeds.models import Feed
try: try: