From: Radek Czajka Date: Fri, 14 Oct 2011 10:21:50 +0000 (+0200) Subject: book sorting fix X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/be17b350423298b3ae0782e7deb5affab7f35a5d?hp=aea4919dfc3beda0cd14c8997a12288921c8745c book sorting fix --- 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')