Opened 8 years ago

Closed 8 years ago

#7104 closed (duplicate)

date_hierarchy in admin broken for multi-table inheritance

Reported by: sorrison@… Owned by: nobody
Component: contrib.admin Version: master
Severity: Keywords: date_hierarchy inheritance
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


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

Change History (2)

comment:1 Changed 8 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

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.


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

doesn't work either, seems related.

comment:2 Changed 8 years ago by mtredinnick

  • Resolution set to duplicate
  • Status changed from new to closed

Model inheritance is not expected to work in the admin.

See #6755.

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