#14877: ModelFormSet.save() with a deleted form should work even if the model has already been deleted ---------------------------------+------------------------------------------ Reporter: andornaut | Owner: nobody Status: new | Milestone: Component: Forms | Version: 1.3-alpha Resolution: | Keywords: Stage: Unreviewed | Has_patch: 0 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------+------------------------------------------ Comment (by andornaut):
I forgot to mention that at line !#617, the method should check if the object has a pk before attempting to call `delete()`. Alternatively, perhaps, objects with None PKs should not go down the `save_existing_objects()` code path at all. -- Ticket URL: <http://code.djangoproject.com/ticket/14877#comment:2> Django <http://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-upda...@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.