Model's get_FOO_* methods cannot be overriden
|Reported by:||Matias Surdi <matiassurdi@…>||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 6 years ago by ericholscher
- milestone set to 1.0 maybe
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Design decision needed