#9538: modelformset_factory cannot easily be used for only inserting ---------------------------------------+------------------------- Reporter: cgrady | Owner: brosner Type: New feature | Status: closed Milestone: | Component: Forms Version: 1.0 | Severity: Normal Resolution: fixed | Keywords: Triage Stage: Accepted | Has patch: 0 Needs documentation: 1 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | ---------------------------------------+------------------------- Changes (by claudep):
* status: assigned => closed * ui_ux: => 0 * resolution: => fixed * easy: => 0 Comment: I think the docs are pretty clear on this matter currently: https://docs.djangoproject.com/en/1.3/topics/forms/modelforms/#changing- the-queryset {{{ If you want to return a formset that doesn't include any pre-existing instances of the model, you can specify an empty QuerySet: >>> AuthorFormSet(queryset=Author.objects.none()) }}} Hence closing this ticket. -- Ticket URL: <https://code.djangoproject.com/ticket/9538#comment:7> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.