X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fc7a60feb9496c250cd1e8ca3db8c74267790047..59131c2e9a3e322c745fe05af3ba3cf2b2801622:/apps/toolbar/models.py diff --git a/apps/toolbar/models.py b/apps/toolbar/models.py index 8d123fd1..d1f4952c 100644 --- a/apps/toolbar/models.py +++ b/apps/toolbar/models.py @@ -33,7 +33,7 @@ class Button(models.Model): group = models.ManyToManyField(ButtonGroup) class Meta: - ordering = ('label',) + ordering = ('slug',) verbose_name, verbose_name_plural = _('button'), _('buttons') def hotkey_code(self):