X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/efc2356b4d523518deb4a7bfdd4a554aa3529fa6..516c726d5bc9a59d8bd672710700e5a753fc8f8e:/apps/catalogue/fields.py 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