Complete dashboard loose ends and reconcile blocked pilot work
All checks were successful
Application acceptance / application-tests (push) Successful in 1m26s
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Container Image / build-and-push (push) Successful in 34s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a0e394-2a69-7df0-8980-22a0ebe55216
This commit is contained in:
tegwick 2026-09-27 18:34:48 +02:00
parent 387b7e9782
commit 35df9bb772
13 changed files with 325 additions and 55 deletions

View file

@ -38,6 +38,13 @@ class AusschreibungForm(forms.ModelForm):
'entscheidungsbegruendung': forms.Textarea(attrs={'class': 'form-input', 'rows': 3}),
}
def __init__(self, *args, **kwargs):
def __init__(self, *args, historisch=False, **kwargs):
super().__init__(*args, **kwargs)
self.fields['teilnahmeentscheidung'].required = False
if historisch:
from vergabe_teilnahme.apps.nachbetrachtung.models import Nachbetrachtung
self.fields['ergebnis'] = forms.ChoiceField(
choices=Nachbetrachtung.ERGEBNIS_CHOICES, initial='offen',
widget=forms.Select(attrs={'class': 'form-input'}),
)