Opened 5 years ago
Last modified 5 years ago
#32031 closed New feature
Add model instance to app_list context — at Initial Version
| Reported by: | Raffaele Salmaso | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Raffaele Salmaso | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I need to manipulate the app_list in my custom admin view, and the easiest way to get the result is to have access to the model instance (currently the dictionary is a serialized model).
In addition I would make the _build_app_dict method public, as it is used by the two views index and app_index.
Note:
See TracTickets
for help on using tickets.