refactor imports
[redakcja.git] / apps / catalogue / models / document.py
index a1a0a3c..9863e65 100755 (executable)
@@ -74,6 +74,7 @@ class Document(Ref):
     class Meta:
         verbose_name = _('document')
         verbose_name_plural = _('documents')
+        ordering = ['-revision__created_at']
 
     def short_html(self):
         return render_to_string('catalogue/book_list/book.html', {'book': self})