parent
b6760071cc
commit
c6d6251556
3 changed files with 21 additions and 0 deletions
|
@ -25,6 +25,7 @@ class BirdAddForm(forms.ModelForm):
|
|||
"place",
|
||||
"find_circumstances",
|
||||
"diagnostic_finding",
|
||||
"comment",
|
||||
]
|
||||
labels = {
|
||||
"bird_identifier": _("Kennung"),
|
||||
|
@ -35,6 +36,7 @@ class BirdAddForm(forms.ModelForm):
|
|||
"place": _("Fundort"),
|
||||
"find_circumstances": _("Fundumstände"),
|
||||
"diagnostic_finding": _("Diagnose bei Fund"),
|
||||
"comment": _("Bermerkung"),
|
||||
}
|
||||
|
||||
|
||||
|
|
18
app/bird/migrations/0003_fallenbird_comment.py
Normal file
18
app/bird/migrations/0003_fallenbird_comment.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.2.4 on 2023-08-16 19:52
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bird', '0002_alter_bird_options_alter_fallenbird_age'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='fallenbird',
|
||||
name='comment',
|
||||
field=models.TextField(null=True),
|
||||
),
|
||||
]
|
|
@ -71,6 +71,7 @@ class FallenBird(models.Model):
|
|||
sent_to = models.CharField(
|
||||
max_length=256, null=True, blank=True, verbose_name=_("Übersandt nach")
|
||||
)
|
||||
comment = models.TextField(blank=True, null=True, verbose_name=_("Bemerkung"))
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("Patient")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue