Questions tagged [django-admin-tools]

It's a collection of extensions and tools for the Django administration interface.

It contains a full featured and customizable dashboard (for the admin index page and the admin applications index pages), a customizable menu bar and tools to make admin theming easier.

117 questions
0
votes
0 answers

Django Jet Theme Installation + Bookmark collission with Admin_Tools

I keep getting this error when Installing Jet Theme in an environment which uses currently admin_tools. Any idea how to solve it? What do I need to add in Models? All I try with ForeignKeys and related_name ends up in another error. python…
0
votes
0 answers

Django Admin: using different theme of django-admin-interface for two admin site

I am using django-admin-interface(Pypi) in multiple django admin site. Django admin interface is only use 1 theme. Do i have to change the admin base template? I tried Override the admin_interface base template Override django admin index.html
0
votes
1 answer

How to use django-autocomplete-light and django-hacker to make a chained dropdown in django admin?

I have 3 models 1) university 2) courses and 3) enquiry. My enquiry model has a foreign key to "course". And Course has a foreign key to the university. I only want to show the courses related to that university while adding an enquiry. I tried…
0
votes
0 answers

Long Processing within Django ModelAdmin Form

I have a custom form in a admin.ModelAdmin where I use to upload some CSV data with a file upload. Sometimes, processing this CSV file takes longer than the HTTP Worker timeouts will allow, forcing me to split up the CSV file into smaller chunks…
0
votes
0 answers

Custome route in django admin

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…
0
votes
1 answer

How do I change the text/value of "Add [Model-Name]" button in Django Admin?

When we login to Django Admin Interface as a superuser, we see the list of models on the left sidebar. When we click on any model name, we go to the list display page of that model which have 'Add [Model-Name]" button on uuper right corner. How do I…
0
votes
1 answer

Django - Apply model on many (1000's) foreign key objects in admin

I have a model of a football coach and a model of a membership payment which has a foreign key to the coach model. In the admin, I want to be able to apply the membership to a lot of coaches at once and not only to one coach. In essence, I imagine a…
0
votes
1 answer

How to customize/filter django admin panel forms data?

I created models as below; Team model stores different team names, Tournament model is used to create a tournament and add teams into it and finally Game model where I select a tournament, add two teams and create a game. My problem is in Admin…
0
votes
1 answer

Why django import export is not working in my django project?

I am working in django project and I want admin to import data from excel file to database of model Entry. But it is not working properly . here is my admin.py from django.contrib import admin from .models import Entry from import_export.admin…
Vijay Soni
  • 197
  • 1
  • 10
0
votes
0 answers

How to display multiple models in one tab in Django admin?

I made the item and quiz apps with the startapp command. I added the apps to INSTALLED_APPS in settings.py, and registered them on the admin page. admin.site.register(Item) admin.site.register(Quiz) In the admin page, Item tab and Quiz tab exist…
user17708075
0
votes
1 answer

Django Admin can't display attributes in a model with multiple Foreign Keys to another model

Basically I have two models, one for Icons and another for Types which have 3 icons (business rule). In my models.py file I have the following: class Icon(models.Model): name = models.CharField(max_length=60) image_URL =…
0
votes
1 answer

exporting the data to an excel sheet after being filtered on the admin panel?

so, after i filter information, is there a way I can export that filtered list as an excel sheet? I would prefer to have a button that you can click in the admin page to just export all the info as an excel sheet that is visible currently in the…
0
votes
1 answer

please help me for customizing my django admin pannel

i should add this tables in my admin class in django please help me
user12782685
0
votes
1 answer

Override admin_menu.py file in django admin panel for sidebar customization

There is a file called admin_menu.py in django_adminlte_theme>templatetags. This file is used for customization of sidebar of django admin panel i.e. dropdowns menus are their order Everything is set except the main thing i.e. override this, right…
0
votes
1 answer

Django admin view design error/acting funny

Anyone faced this before? I have never. I installed Django 3.1 along with Python 3.9 and started facing this(see the image). Even when I scroll up, the top half stays there, its fixed, only the bottom half scrolls. I am using ckeditor for the body…