From d755295b742ece6cbb3f9455cd9588f02c3982f5 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Mon, 8 Jun 2015 22:03:02 +0200 Subject: [PATCH] Uprava razeni reseni --- seminar/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/models.py b/seminar/models.py index acd0a89b..484b7047 100644 --- a/seminar/models.py +++ b/seminar/models.py @@ -408,7 +408,7 @@ class Reseni(SeminarModelBase): db_table = 'seminar_reseni' verbose_name = u'Řešení' verbose_name_plural = u'Řešení' - ordering = ['problem_id', 'resitel_id'] + ordering = ['problem_id', 'resitel__prijmeni', 'resitel__jmeno',] # Interní ID id = models.AutoField(primary_key = True)