X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/aea4919dfc3beda0cd14c8997a12288921c8745c..be17b350423298b3ae0782e7deb5affab7f35a5d:/apps/catalogue/models/book.py diff --git a/apps/catalogue/models/book.py b/apps/catalogue/models/book.py index 1a141fcb..5125532c 100755 --- a/apps/catalogue/models/book.py +++ b/apps/catalogue/models/book.py @@ -44,7 +44,7 @@ class Book(models.Model): class Meta: app_label = 'catalogue' - ordering = ['title'] + ordering = ['title', 'slug'] verbose_name = _('book') verbose_name_plural = _('books')