#9029: `get_or_create` broken due to inconsistent behaviour between `create` and
`filter` on Manager, RelatedManager, QuerySet, etc.
---------------------------------------------------+------------------------
Reporter: mrmachine | Owner: aaron
Status: assigned | Milestone: 1.3
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
get_or_create get create filter FieldError
Stage: Ready for checkin | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Changes (by mrmachine):
* stage: Accepted => Ready for checkin
* milestone: => 1.3
Comment:
Patch looks good to me. Tests updated to apply against r14733, and pass
locally on sqlite, postgresql and mysql.
--
Ticket URL: <http://code.djangoproject.com/ticket/9029#comment:7>
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 [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.