From 07e3e2e9c3da9f05634a45f65723504c229f2baa Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 18 May 2022 16:23:02 +0200 Subject: Migration to Django 2.2 - many fixes - remove redondant permissions - fix missing kwargs for widget and form fields - fix default to callable for model field - quick and dirty fix for datepicker - is_authenticated() -> is_authenticated - fix registration urls - remove six usage (no more python2) --- archaeological_files/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_files/forms.py') diff --git a/archaeological_files/forms.py b/archaeological_files/forms.py index defb7ba05..450eadd74 100644 --- a/archaeological_files/forms.py +++ b/archaeological_files/forms.py @@ -331,7 +331,7 @@ class FileFormGeneralRO(FileFormGeneral): numeric_reference = forms.IntegerField( label=_("Numeric reference"), widget=forms.TextInput() ) - id = forms.IntegerField(" ", widget=forms.HiddenInput, required=False) + id = forms.IntegerField(label=" ", widget=forms.HiddenInput, required=False) def clean(self): cleaned_data = self.cleaned_data -- cgit v1.2.3