#9023: OneToOneField delete() problem
---------------------------------------------------+------------------------
Reporter: TheShark | Owner: juriejan
Status: new | Milestone: 1.1
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
OneToOneField delete cascade
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
---------------------------------------------------+------------------------
Comment (by jacob):
Working patch attached. I'm not sure I'm 100% happy with the approach: in
some cases it can make `obj.o2o = None` perform a database hit, which is
annoying and counter-intuitive.
--
Ticket URL: <http://code.djangoproject.com/ticket/9023#comment:8>
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
-~----------~----~----~----~------~----~------~--~---