Z
Z
zkweb2015-09-23 23:29:44
Django
zkweb, 2015-09-23 23:29:44

How to make a submenu in the admin panel?

New to django.
I have three applications: Clients, Stores, Warehouse
6abc481392b048f8bc9177df5c2f451e.JPG
Now I need to make a submenu. For example, if you enter the "Clients" application above breadcrumbs (for example), display links: Wholesale, Individuals. Do the same for other applications
Where to write the condition that there is this application "Client" to show such and such a menu.
And yet - also how to hide it from certain users?
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2015-09-23
@sim3x

Admin panel for a simple
Admin panel not for clients
Admin panel only for trusted
ones If you want to change the admin panel - use a separate app - it will be easier

N
Nikita Konin, 2015-09-24
@jkjkjirf

Read carefully, there are a lot of useful things on this topic: djbook.ru/rel1.8/ref/contrib/admin/index.html
In short, you need to partially rewrite the admin templates + add JavaScript code. I think this gave a direction where to dig.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question