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
1 answer

Extending django-admin-tools admin template doesn't render header

Trying to add custom page into the admin. I want this page to have the same header and upper menu like any other page in admin from django-admin-tools. Everything seems to be ok except the welcome section. This is how it should look like This is…
Milano
  • 18,048
  • 37
  • 153
  • 353
0
votes
1 answer

Display Model name instead of 'Users' on the admin page

I've created a custom user model using abstractuser titled employee. class Employee(AbstractUser): username = models.CharField(max_length = 30) first_name = models.CharField(max_length = 30) last_name = models.CharField(max_length=30) email =…
0
votes
1 answer

How to use a form showing selected and not selected in Django Admin

In django admin the Groups element of the Change User form gives you two lists with arrows to move from one list to the other. Something like the attached. I have a many to many field where I would like Django Admin to use this form but I cannot…
HenryM
  • 5,557
  • 7
  • 49
  • 105
0
votes
1 answer

django-admin-tools 0.8 after installing and configuring shows error 404 while trying to open admin page

I had installed and configured django-admin-tools 0.8 following the documentation. Django version is 1.11.4, using virtualenv in project. File settings.py: INSTALLED_APPS = [ 'admin_tools', 'admin_tools.theming', 'admin_tools.menu', …
0
votes
0 answers

auto save in django list display mode

here is my code for admin.py with a model named BASE2 class Base2Admin(ExportMixin, admin.ModelAdmin): resource_class = Base2Resource filter_horizontal = ('images',) list_display = ('id', 'name','description','promoted', 'slug') …
0
votes
1 answer

Django - Update the second list_filter field in real time according to first field?

So I'm trying to improve my django knowledge and I'm working on this personal project in which I have two categories, the main one which is more general and a subcategories filter. An example would be main_category=smartphone,…
0
votes
1 answer

Django ManyToMany Field or something else?

I have a simple eCommerce site with Product and Variation. Each variation is definitely going to have different weights, and each weight will have a quantity. I have implemented a Weight model with a ForeignKey relationship to Variation since each…
0
votes
2 answers

Django 1.10 python 3.5 django-admin-tools

I am using Django 1.10 and installed django-admin-tools. Settings look like this: INSTALLED_APPS = [ 'admin_tools', 'admin_tools.theming', 'admin_tools.menu', 'admin_tools.dashboard', 'django.contrib.admin', …
0
votes
1 answer

django-admin-tools-stats graphs are not generated

I have installed and configured django-admin-tools-stats as mentioned on https://django-admin-tools-stats.readthedocs.io/en/latest/index.html However I can not generate any graph, or no widget for graphs is visible on my admin interface. My…
Thinker
  • 5,326
  • 13
  • 61
  • 137
0
votes
0 answers

Django admin interface broken after bower install

I am using Django for my backend. Recently I installed and configured django-admin-tools-stats to generate graphs etc. I followed instructions as mentioned here: https://github.com/areski/django-admin-tools-stats However after configuring bower my…
Thinker
  • 5,326
  • 13
  • 61
  • 137
0
votes
3 answers

Django admin InlineModels for manytomany fields

I have designed following models for my blog from django.db import models class Post(models.Model): title = models.CharField(max_length=200) body = models.TextField(default='') created_at = models.DateTimeField('created date',…
shining
  • 1,049
  • 16
  • 31
0
votes
1 answer

Translate app name in django-admin-tools menu

How can I translate app name in django-admin-tools? I try to do this https://docs.djangoproject.com/en/1.8/ref/applications/ and it translate app name in standard django admin, but not in django-admin-tools
0
votes
1 answer

Django-admin-tools utils.js missing

I'm trying to install django-admin-tools in my existing Django installation. So far so good except for the fact that the backend looks fuzzy and afters some inspection it seems that utils.js is missing: If I look into my static directory (after…
Sven van de Scheur
  • 1,809
  • 2
  • 15
  • 31
0
votes
1 answer

How can I sort and include rules sorting in django?

I'm not to confident that I am asking this question correctly but this is what I'd like to do. In django admin, I would like to write an action that sorts the list of my contestants randomly and doesn't allow two people with the same first name to…
0
votes
1 answer

Is ordering of names possible in Fluent dashboard?

I have implemented fluent dashboard in my website's admin side. But the ordering of displaying the names of models is not according to my wish. For eg: In Administration section, it is displaying the models in this order: 1)Groups 2) Users 3)Sites…
Vijesh Venugopal
  • 1,621
  • 15
  • 26