How to add a button to Django Admin user menu (the one with logout, change password, ...) ?

136 views
Skip to first unread message

Olivier

unread,
Jun 12, 2020, 4:31:43 AM6/12/20
to Django users
Hello,

When logged into Django Admin, I can see a header on view top with:
- "Django Administration" on the left
- 4  items on the right
+ "welcome Foo"
+ "View site" link
+ "Change password"
+ "Logout"

I want to a add a styled "Deploy" button, anywhere inside this header, so that, after editing data, logged Admin user, can trigger a custom action.

How can I implement this ?

Best regards

Olivier

unread,
Jun 12, 2020, 5:38:20 AM6/12/20
to Django users
It seems django-admin-tools is doing what I was after, and more.

If a django-admin-tools-enabled admin site could peacefully co-exists with classical admin site, then it would be perfect.
Reply all
Reply to author
Forward
0 new messages