Opened 16 years ago

Closed 16 years ago

#10346 closed (invalid)

Field overrides in model inheritance

Reported by: narciso@… Owned by: nobody
Component: Database layer (models, ORM) Version: 1.0
Severity: Keywords: inheritance
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Why Django does'n implement a field overrides in a model "Meta inheritance". For example, in an abstract model, i put a field: name=CharField(max_length=40), and in an inherited model I want to override the field by: name=CharField(max_length=100)

This can be done in a Meta inheritance, because all fields reside in the model's db_table.

Change History (1)

comment:1 by Jacob, 16 years ago

Resolution: invalid
Status: newclosed

Please don't use the ticket system for asking questions -- the django-users mailing list is the appropriate place to ask.

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