#18362: model save with update_fields should accept both field.name and
field.attname
-------------------------------------+-------------------------------------
Reporter: akaariai | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) | Resolution: fixed
Severity: Normal | Triage Stage: Accepted
Keywords: | Needs documentation: 0
Has patch: 1 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 0 |
-------------------------------------+-------------------------------------
Changes (by Anssi Kääriäinen <akaariai@…>):
* status: new => closed
* resolution: => fixed
Comment:
In [0f49b2bce2d5b3c5891c8a329bab7dffe16fc79b]:
{{{
#!CommitTicketReference repository=""
revision="0f49b2bce2d5b3c5891c8a329bab7dffe16fc79b"
Fixed #18362 - Made model.save() update_fields accept attnames
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/18362#comment:3>
Django <https://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.