#4477 closed (fixed)
[newforms-admin] Models on index.html aren't grouped by app_label
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | contrib.admin | Version: | other branch |
| Severity: | Keywords: | newforms admin app_label | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When I register several models from one application to django.contrib.admin.site they don't appear in the same table on admin's index page. It looks like this:
+--------------------------+ | MyApp | +--------------------------+ | MyModel1 | +--------------------------+ +--------------------------+ | OtherApp | +--------------------------+ | NotMyModel | +--------------------------+ +--------------------------+ | MyApp | +--------------------------+ | MyModel2 | +--------------------------+
where it should imho be:
+--------------------------+ | MyApp | +--------------------------+ | MyModel1 | | MyModel2 | +--------------------------+ +--------------------------+ | OtherApp | +--------------------------+ | NotMyModel | +--------------------------+
Attachments (1)
Change History (3)
by , 18 years ago
| Attachment: | newforms-admin-5427-app_grouping.diff added |
|---|
comment:1 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Dupe of #4258 (which also has a patch).
comment:2 by , 18 years ago
| Resolution: | duplicate → fixed |
|---|
Note:
See TracTickets
for help on using tickets.
Patch correcting the bug