On Wednesday, September 23, 2020 at 11:43:36 AM UTC-4 luca72.b...@gmail.com wrote:
Hello i have this problem :MultiValueDictKeyError atThe view is:matricola = request.POST['matricola']The form is:matricola = forms.CharField(label='Matricola', required = False, max_length=100, widget = forms.TextInput(attrs={'readonly':'readonly'}))the template is{{ form }}Why i get this error?
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9287bb2a-84a2-42ba-87a7-40344f75ecdcn%40googlegroups.com.
No comments:
Post a Comment