refactor: Remove date widget to allow editing

This commit is contained in:
moanos [he/him] 2024-05-30 10:48:57 +02:00
parent ba5c165ce0
commit eea30a46b0

View File

@ -38,9 +38,7 @@ class AdoptionNoticeForm(forms.ModelForm):
class Meta: class Meta:
model = AdoptionNotice model = AdoptionNotice
fields = ['name', "group_only", "further_information", "description", "searching_since"] fields = ['name', "group_only", "further_information", "description", "searching_since"]
widgets = {
'searching_since': DateInput(),
}
class ImageForm(forms.ModelForm): class ImageForm(forms.ModelForm):