Responsive images.
[wolnelektury.git] / src / catalogue / management / commands / schedule_stale_ebooks.py
1 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
3 #
4 from django.conf import settings
5 from django.core.management.base import BaseCommand
6
7 from catalogue.fields import EbookField
8
9
10 class Command(BaseCommand):
11     help = 'Schedule regenerating stale ebook files.'
12
13     def handle(self, **options):
14         EbookField.schedule_all_stale()