#901: [patch] Reload method for models
---------------------------------------------+------------------------------
Reporter: [email protected] | Owner: adrian
Status: reopened | Milestone:
Component: Core framework | Version:
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Changes (by brandon):
* status: closed => reopened
* resolution: wontfix =>
Comment:
I gingerly, and with trepidation, would like to re-open this ticket
because reload() would cover an important use case that did not get a
hearing in the above discussion: that you might already have handed the
object off to some other library, which is keeping a reference from
somewhere deep in its data structures for use when you make a final call
to it. If one or more data structures that are being built already hold
the object, then it is not reasonable to have to track down the object and
try to swap in a new copy everywhere. There should be a simple way to
have the existing object's attributes update in-place.
--
Ticket URL: <http://code.djangoproject.com/ticket/901#comment:9>
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=.