#32098: Made FieldFile use FileField.attname
-------------------------------------+-------------------------------------
Reporter: Sultan | Owner: Sultan
Type: | Status: closed
Cleanup/optimization |
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"6599608c4d0befdcb820ddccce55f183f247ae4f" 6599608c]:
{{{
#!CommitTicketReference repository=""
revision="6599608c4d0befdcb820ddccce55f183f247ae4f"
Fixed #32098 -- Made FieldFile use FileField.attname.
After a93425a37f4defdb31d4ca96bb3bf6da21f0b5ce FileDescriptor is a
subclass of DeferredAttribute and uses FileField.attname to access the
field data, so that custom subclasses can not only save data to files,
but also represent the same data with a different data type by
attaching FileFiled.name to a particular descriptor.
Follow up to a93425a37f4defdb31d4ca96bb3bf6da21f0b5ce.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32098#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.e16b75c15791abcdf62bd3f512b49e8a%40djangoproject.com.