fix celery + djconfig
This commit is contained in:
parent
b785a45a6e
commit
747713bce0
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user