informal error message

This commit is contained in:
Oliver Zander 2025-10-16 17:00:40 +02:00
parent c5bdc80c54
commit b963db5731
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class BaseProjectForm(ModelForm):
if model.other in values: if model.other in values:
if not cleaned_data[field_other]: if not cleaned_data[field_other]:
self.add_error(field_other, f'Bitte geben Sie einen Wert an oder deselektieren Sie "{model.OTHER}".') self.add_error(field_other, f'Bitte gib einen Wert an oder deselektiere "{model.OTHER}".')
else: else:
cleaned_data[field_other] = '' cleaned_data[field_other] = ''