#15790: only() broken for proxy models
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
michal.modzelewski@… | Status: new
Type: Bug | Component: Database layer
Milestone: 1.3 | (models, ORM)
Version: SVN | Severity: Normal
Resolution: | Keywords: proxy only
Triage Stage: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Comment (by Michał Modzelewski <michal.modzelewski@…>):
Yes, i originally thought that this could result in an unintentional loss
of data if you saved such a broken model instance, but since the pk value
is missing from the !__dict!__ saving will just create a new record in the
database.
--
Ticket URL: <http://code.djangoproject.com/ticket/15790#comment:3>
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.