Re: [Django] #8070: related objects passed to model init are not cached/accessible

3 views
Skip to first unread message

Django

unread,
Sep 6, 2013, 12:38:32 PM9/6/13
to django-...@googlegroups.com
#8070: related objects passed to model init are not cached/accessible
-------------------------------------+-------------------------------------
Reporter: gwilson | Owner: gwilson
Type: Uncategorized | Status: closed
Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

* ui_ux: => 0
* type: => Uncategorized
* severity: => Normal
* easy: => 0


Comment:

> Allows unsaved related objects to be accessed when they were passed to
the Model init.

Django accepted this but the relation wasn't saved, see #10811. I'm going
to remove the test for that bug-prone behavior.

--
Ticket URL: <https://code.djangoproject.com/ticket/8070#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages