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