Opened 5 years ago
Closed 5 years ago
#30657 closed New feature (fixed)
Allow model Fields to override their descriptor.
Reported by: | Jon Dufresne | Owned by: | Jon Dufresne |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Right now, a Field
is assigned to the model instance attribute using the DeferredAttribute
descriptor class.
As discussed in PR#11587, it would be useful to third party libraries and internally if this descriptor class could be customized to allow for custom behavior.
Change History (4)
comment:1 by , 5 years ago
Has patch: | set |
---|
comment:2 by , 5 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | Allow model Fields to override their descriptor → Allow model Fields to override their descriptor. |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
PR