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