#7119 closed (invalid)
Model's get_FOO_* methods cannot be overriden
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It's not possible to override any of the get_FOO_* methods for any model. For example, If I'd like to change the default url for a "file" FileField I can't define my own get_file_url method in the model.
If this bug report is accepted, I could submit a patch.
Change History (4)
comment:1 by , 16 years ago
milestone: | → 1.0 maybe |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Marking as invalid, since these methods no longer exist.
Note:
See TracTickets
for help on using tickets.
All file-related and image-related get_FIELD_* methods have been removed in [8291].
This changeset is also listed in BackwardsIncompatibleChanges.
The only remaining get_FIELD_* method would be get_FIELD_display.