#23404: Django modelformset returns the same data inserted in the previous 
insert
when opening the same page for inserting new data
-------------------------------------+-------------------------------------
     Reporter:  guruprasad           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Forms                |                  Version:  1.6
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
  modelformset_factory               |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by guruprasad):

 Replying to [comment:2 timgraham]:
 > Any chance the browser is auto-populating the data from the last form
 fill? If not, this would be a pretty obvious bug so the problem is likely
 in your code although I don't see anything odd.

 Tim, I used pdb to render the html on the server side and it is having the
 data of all the fields in the model populated in the formset when it has
 to be rendered empty for a GET request. I tried it on a totally different
 codebase and app and I could see the same issue.

--
Ticket URL: <https://code.djangoproject.com/ticket/23404#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.5604587dee307a04ae286456fcbf0534%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to