Opened 18 years ago
Closed 18 years ago
#7104 closed (duplicate)
date_hierarchy in admin broken for multi-table inheritance
| Reported by: | 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 , 18 years ago
comment:2 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Model inheritance is not expected to work in the admin.
See #6755.
Note:
See TracTickets
for help on using tickets.
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.