#8672: ModelForm.save() should implement force_insert and force_update, like
Model.save()
--------------------------------------------------------------+-------------
Reporter: Richard Davies <[EMAIL PROTECTED]> | Owner: nobody
Status: new | Milestone:
Component: Forms | Version:
SVN
Keywords: | Stage:
Unreviewed
Has_patch: 0 |
--------------------------------------------------------------+-------------
[8267] added the ability to force an SQL insert (or force an update) via a
model's save() method.
The same force_insert and force_update flags should be supported in a
modelform's save() method.
These flags enable better control over some edge cases - e.g. force_insert
will prevent overwriting existing data if the same primary key has
accidentally been specified.
--
Ticket URL: <http://code.djangoproject.com/ticket/8672>
Django Code <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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---