feat: alphabetically order most models by default

#207
This commit is contained in:
Herculino Trotta
2025-03-09 18:55:29 -03:00
parent 187b3174d2
commit 73e8fdbf04
7 changed files with 70 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ class Currency(models.Model):
class Meta:
verbose_name = _("Currency")
verbose_name_plural = _("Currencies")
ordering = ["name", "id"]
def clean(self):
super().clean()