build pdf
[edumed.git] / curriculum / models.py
index e34e5ab..1f543b9 100644 (file)
@@ -24,7 +24,7 @@ class Competence(models.Model):
     order = models.IntegerField(_('order'))
 
     class Meta:
     order = models.IntegerField(_('order'))
 
     class Meta:
-        ordering = ['order']
+        ordering = ['section', 'order']
         verbose_name = _('competence')
         verbose_name_plural = _('competences')
 
         verbose_name = _('competence')
         verbose_name_plural = _('competences')