Opened 12 years ago

Last modified 7 years ago

#18665 new New feature

Making it easier to customize Django Admin — at Version 1

Reported by: Frank Wiles Owned by: nobody
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Jannis Leidel)

I wrote django-admin-views recently (https://github.com/frankwiles/django-admin-views) based on suggestions from Julien Phalip and Jacob Kaplan-Moss they would like to see this be included into the admin.

Specifically I would like to add the following abilities:

1) Easily link up custom admin views to admin:index

2) Include reverse()-able links and off site URLs to admin:index on a per app basis (i.e. defined by the app's admin.py)

3) Include blocks in admin:index to customize the displaying of each app block

4) Ability to define the sort order of the apps manually. Give the user full control or if they just define 2 of 10 apps put the defined 2 at the top in their order and alphabetize the remaining apps to ensure no apps are missing due to not including them in this setting. Would obviously continue to default to alphabetical by app name.

I'm willing to do the work on this and Julien has offered to help mentor/work me through the process.

Change History (1)

comment:1 by Jannis Leidel, 12 years ago

Description: modified (diff)
Triage Stage: UnreviewedAccepted

Accepting this in general since I've also had those problems and used django-admin-tools to solve it. I like the simplistic proposals you made to extend the ModelAdmin.

But, I think at least 3 and 4 are separate issues that should have their own ticket as they can easily be implemented without waiting for the "custom view" feature to be implemented. I'm not entirely happy about introducing yet another name next to AdminSite and ModelAdmin/InlineModelAdmin and would suggest to add the features to ModelAdmin directly.

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