X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/0fb18b38f2379e67d0098658eb2822c11a341d25..1a798a8611063ff9abc2b8cd9104e45580f7bffd:/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')