Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#7119 closed (invalid)

Model's get_FOO_* methods cannot be overriden

Reported by: Matias Surdi <matiassurdi@…> 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 Eric Holscher, 16 years ago

milestone: 1.0 maybe
Triage Stage: UnreviewedDesign decision needed

comment:2 by Benjamin Schwarze, 16 years ago

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.

comment:3 by Alex Gaynor, 16 years ago

Resolution: invalid
Status: newclosed

Marking as invalid, since these methods no longer exist.

comment:4 by (none), 16 years ago

milestone: 1.0 maybe

Milestone 1.0 maybe deleted

Note: See TracTickets for help on using tickets.
Back to Top