X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/0fb18b38f2379e67d0098658eb2822c11a341d25..b027d39e2082ec3244fcd05eb0264fdfc13d9f19:/curriculum/models.py?ds=sidebyside 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')