#8662: Overriding save() raises error when using Model.objects.create()
------------------------------------+---------------------------------------
Reporter: pjs | Owner: nobody
Status: new | Milestone: 1.0
Component: Documentation | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Comment (by mtredinnick):
This is a docs bug. We should mention the need for `force_insert` and
`force_update` if you want your overridden method to be usable by
`create()` or `get_or_create()`. It's in the BackwardsIncompatibleChanges
page, but I forgot to update the docs.
--
Ticket URL: <http://code.djangoproject.com/ticket/8662#comment:2>
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
-~----------~----~----~----~------~----~------~--~---