X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fc7a60feb9496c250cd1e8ca3db8c74267790047..b2dfa52bb8e6aeb20dd6a9d397d3b87e71aa7a4e:/apps/toolbar/models.py?ds=inline 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):