From e8f7a53c019e1f8a6deeca84647e8bbf339d8bb8 Mon Sep 17 00:00:00 2001 From: gw3000 Date: Sat, 26 Aug 2023 10:33:40 +0200 Subject: [PATCH] Freitextfeld Patienten Fixes #53 --- app/bird/forms.py | 2 ++ .../0004_alter_fallenbird_comment.py | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 app/bird/migrations/0004_alter_fallenbird_comment.py diff --git a/app/bird/forms.py b/app/bird/forms.py index 7c5c96b..b831a56 100644 --- a/app/bird/forms.py +++ b/app/bird/forms.py @@ -55,6 +55,7 @@ class BirdEditForm(forms.ModelForm): "sent_to", "find_circumstances", "diagnostic_finding", + "comment", ] labels = { "bird": _("Vogel"), @@ -66,4 +67,5 @@ class BirdEditForm(forms.ModelForm): "sent_to": _("Übermittelt nach"), "find_circumstances": _("Fundumstände"), "diagnostic_finding": _("Diagnose bei Fund"), + "comment": _("Bermerkung"), } diff --git a/app/bird/migrations/0004_alter_fallenbird_comment.py b/app/bird/migrations/0004_alter_fallenbird_comment.py new file mode 100644 index 0000000..3c1f5da --- /dev/null +++ b/app/bird/migrations/0004_alter_fallenbird_comment.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.4 on 2023-08-26 08:28 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('bird', '0003_fallenbird_comment'), + ] + + operations = [ + migrations.AlterField( + model_name='fallenbird', + name='comment', + field=models.TextField(blank=True, null=True, verbose_name='Bemerkung'), + ), + ]