Re: FormSet.is_valid() raises ValidationError

2019-11-04 Thread Benoit Blanchon
Hi! Thank you very much for this answer, but that's not what I'm talking about. I know that you must include the management form in the template, that's not the problem. I worry about a malicious user (i.e., a hacker) that would purposely temper the management form in order to raise an exception

Re: FormSet.is_valid() raises ValidationError

2019-11-01 Thread Nijo Joseph
Hi, In case of {{ formset }} no probs. but in case of *{{ formset.management_form }}* {% for form in formset %} {{ form }} {% endfor %} *{{ formset.management_form }} is required and of course * {% csrf_token %}. Ref https: