I would like to have a dropdown list in the login field of authenti(fi)cation panel in Django : for admin and for a worker. Do you have any idea how to implement it?
Related
I wanted to customize my django admin route
Not from /admin to something else but to add new clickable custom route inside admin panel
Currently I have created superuser using python manage.py createsuperuser command.
I can login to django admin panel , but what I want is to have a custom route to be displayed in left sidebar or anywhere else after logging into django admin panel. My custom route is like localhost:8000/my-view/ and my-view should be displayed somewhere in admin panel.
TIA.
I added one menu item in django admin panel.when i clicked that, all othe app and their model disappears.I am using jazzmin in admin panel.How to send all side menu list in my template?
Django shows list of model items in admin panel, but don't want to show the list but I directly want to show the detail view . How can i do this ?
i want a button to call a view function from django admin. i want my button here my django admin panel
When i click on that button , it calls a specified view.
You have to override the default django admin template. Please read more here: https://docs.djangoproject.com/en/3.0/howto/overriding-templates/
Is it possible with django to add a custom html select to an admin page in order to modify the queryset of a specific model?
For example, I have a "Product" model and inside the Products admin page I get all the product.
I would like to have an html select in that page so that the admin can change the queryset not to show ALL the products but just part of it
Thanks