From 747713bce0621c814fb07b411179ad41f6233001 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 24 Jan 2019 12:48:56 +0300 Subject: [PATCH] fix celery + djconfig --- feeds/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/feeds/tasks.py b/feeds/tasks.py index 3e0147b..1dbd576 100644 --- a/feeds/tasks.py +++ b/feeds/tasks.py @@ -7,6 +7,7 @@ from config.celery import app @app.task() def execute_feed(feed_pk): + config._reload_maybe() from feeds.models import Feed try: