1 # This file is part of Wolne Lektury, licensed under GNU Affero GPLv3 or later.
2 # Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
4 from django.core.management.base import BaseCommand
6 from catalogue.models import Book
9 class Command(BaseCommand):
10 def handle(self, *args, **options):
11 for b in Book.objects.order_by('slug'):