X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/0fb18b38f2379e67d0098658eb2822c11a341d25..cf61eb00421c5f6bb1b530e1d499815bc266faac:/curriculum/models.py diff --git a/curriculum/models.py b/curriculum/models.py index e34e5ab..1f543b9 100644 --- a/curriculum/models.py +++ b/curriculum/models.py @@ -24,7 +24,7 @@ class Competence(models.Model): order = models.IntegerField(_('order')) class Meta: - ordering = ['order'] + ordering = ['section', 'order'] verbose_name = _('competence') verbose_name_plural = _('competences')