From e2280019a5f31138bc1dfd8e5d4c57bba5822274 Mon Sep 17 00:00:00 2001 From: gw3000 Date: Tue, 8 Aug 2023 15:33:18 +0200 Subject: [PATCH] form order in bird add Fixes #38 --- app/bird/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/bird/models.py b/app/bird/models.py index 7a35b47..8b3f4b6 100644 --- a/app/bird/models.py +++ b/app/bird/models.py @@ -88,6 +88,8 @@ class Bird(models.Model): class Meta: verbose_name = _("Vogel") verbose_name_plural = _("Vögel") + ordering = ["bird", "find_circumstances"] + def __str__(self): return self.name