X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c3bcc0703d6255b78c2a6813bbea03e9581609e0..bc1052113b8535faff749432217b2491ce0f7a6e:/apps/catalogue/models/book.py?ds=sidebyside 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')