From: Radek Czajka Date: Tue, 21 Aug 2012 13:30:51 +0000 (+0200) Subject: celery import path fix X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/516c726d5bc9a59d8bd672710700e5a753fc8f8e celery import path fix --- diff --git a/apps/catalogue/fields.py b/apps/catalogue/fields.py index 2c4e4d57b..fad697f44 100644 --- a/apps/catalogue/fields.py +++ b/apps/catalogue/fields.py @@ -8,8 +8,7 @@ from django.db import models from django.db.models.fields.files import FieldFile from catalogue import app_settings from catalogue.utils import remove_zip, truncate_html_words -from celery import Task -from celery.task import task +from celery.task import Task, task from waiter.utils import clear_cache