Tired your link for the form. If this is the form you are concerned about
then the message that pops up is for validation i.e. form.is_valid().
On Wednesday, July 29, 2020 at 4:55:33 PM UTC-4, Christian Seberino wrote:
>
> I have a Django app with multiple forms on various pages. They all work
> except for one with just an optional checkbox.......
>
> I checked and they all have templates with {% csrf_token %}.
>
> The only thing special but the problematic form is that I have a checkbox
> input that is optional.
>
> That means I'm pressing the submit button when NOTHING has been selected.
>
> Can that cause this CSRF error?
>
> Thanks!
>
> Chris
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/d28c9055-08d9-4eb6-8c9f-8ea245a46e3co%40googlegroups.com.