Opened 16 years ago

Closed 16 years ago

#7104 closed (duplicate)

date_hierarchy in admin broken for multi-table inheritance

Reported by: sorrison@… Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords: date_hierarchy 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

Specifying date_hierarchy breaks the admin when the date field is in the parent model.

Change History (2)

comment:1 by anonymous, 16 years ago

More info (pressed the submit too early)

This happens on multi-table inheritance and it looks in the child's table instead of the parents.

Also

SomeModel.object.dates('date_from_parent', 'month')

doesn't work either, seems related.

comment:2 by Malcolm Tredinnick, 16 years ago

Resolution: duplicate
Status: newclosed

Model inheritance is not expected to work in the admin.

See #6755.

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