Opened 9 years ago
Closed 9 years ago
#26130 closed Cleanup/optimization (duplicate)
Convert ModelAdmin views to class-based views
Reported by: | Yoong Kang Lim | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
ModelAdmin's views, especially changeform_view(), changelist_view() are long methods that are a bit hard to follow. They would benefit from some refactoring.
I propose converting some of them to CBVs to make them easier to read.
Change History (1)
comment:1 by , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Summary: | ModelAdmin views are too messy → Convert ModelAdmin views to class-based views |
Note:
See TracTickets
for help on using tickets.
Duplicate of #17208