From 15a63e0c75c030f2fecd94a385ce94f11eef9640 Mon Sep 17 00:00:00 2001 From: Gunther Weissenbaeck Date: Mon, 5 Feb 2024 22:07:02 +0100 Subject: [PATCH] choices in seperate modules --- app/aviary/choices.py | 6 ++++++ app/bird/choices.py | 16 ++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 app/aviary/choices.py create mode 100644 app/bird/choices.py diff --git a/app/aviary/choices.py b/app/aviary/choices.py new file mode 100644 index 0000000..5539c37 --- /dev/null +++ b/app/aviary/choices.py @@ -0,0 +1,6 @@ +CHOICE_AVIARY = [ + """ Choices for Aviary Model """ + ("Offen", "Offen"), + ("Geschlossen", "Geschlossen"), + ("Gesperrt", "Gesperrt"), +] diff --git a/app/bird/choices.py b/app/bird/choices.py new file mode 100644 index 0000000..e4cd754 --- /dev/null +++ b/app/bird/choices.py @@ -0,0 +1,16 @@ +CHOICE_AGE = [ + ("unbekannt", "unbekannt"), + ("Ei", "Ei"), + ("Nestling", "Nestling"), + ("Ästling", "Ästling"), + ("Juvenil", "Juvenil"), + ("Adult", "Adult"), +] + +CHOICE_SEX = [ + ("Weiblich", "Weiblich"), + ("Männlich", "Männlich"), + ("Unbekannt", "Unbekannt"), +] + +