Closed slandau3 closed 6 years ago
This is too specific of a case, please generalize by removing code and components until you have a minimal reproducing example. First you should get rid of the JS stuff and see if the problem is gone. Then remove crispy, etc.
Closing due to inactivity.
I tried implementing a model that is referenced by several foreign keys and the html appears to generate fine but when I attempt to submit it I get "ManagementForm data is missing or has been tampered with"
My template is as follows:
On the page that's rendered I give users the ability to add and delete forms. I use django-dynamic-formsets to do this. Here's how I initialize it (it appears to be working and updates the management forms properly):
Another thing, for some reason the submit button has not been working. I've been having to submit the form manually via a jquery event
I followed the documentation to design all my views but I'll post them here just in case
All of the form_class's that are referred to are just simple model forms.
This issue has been extremely annoying and I'm not sure what's causing it.