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

Django admin-tools menu for Applications does not shown after I subclass SiteAdmin

I'm using Django with django-admin-tools. After I subclass the SiteAdmin and used it to register my admin classes, the whole Application menu disapears. My modification on index and app_index is just adding a picture property from admin_model to…
Serjik
  • 10,543
  • 8
  • 61
  • 70
0
votes
1 answer

How to use special chars in admindocs?

I have comments to models with some special chars, for examle: [...] informacją [...] but when I run admin I get: 'ascii' codec can't decode byte 0xc4 in position 23: ordinal not in range(128). You passed in
Nips
  • 13,162
  • 23
  • 65
  • 103
0
votes
1 answer

django make available few of the django admin forms to the users at a different url

Django admin is really awesome. It provides hell lot of features, we can play around with data the extensively. Instead of writing model forms? Is it possible for me to serve some of the forms that django has with all the CRUD functionality to a…
0
votes
1 answer

Django - See the foreignkey object's details in admin panel

I have a model like below; class Lecturer(models.Model): name = models.CharField(max_length=200,verbose_name=u'Eğitmenin Adı') tc_kimlik_no = models.IntegerField(verbose_name=u'Eğitmenin TC Kimlik Numarası') sertifika_no =…
tuna
  • 6,211
  • 11
  • 43
  • 63
0
votes
1 answer

get_list_display in Django

In my model admin, I would like to modify get_list_display. class PhotoAdmin(admin.ModelAdmin): ordering = ['-date'] def get_list_display(self, request): b[0] #<-just to crash it to see if it is getting called However, it…
Alexis
  • 23,545
  • 19
  • 104
  • 143
-1
votes
0 answers

Can not connect postgresql database in django

I want to run jobs by connecting to 2 different databases and run them in django admin. First database is default sqlite and the other is postgresql. I want to print jobs to a table in pg, when I go to admin page the table name also looks different,…
-1
votes
1 answer

DoesNotExist error when using custom User model

I have a Group model in my group/models.py file: class Group(models.Model): leader = models.ForeignKey(User, on_delete=models.CASCADE) name = models.CharField(max_length=55) description = models.TextField() joined =…
-1
votes
1 answer

How can I link (connect) two dropdowns in django admin

Like: There are three dropdowns: Country, Province, and District. Country: When I click on Country dropdown it'll display all the countries. And I'll choose one. Province: When I choose a Country, the Province gets filtered according to country and…
-1
votes
1 answer

How can I call a external API from django admin and display data, also want to make POST call to external API from admin

I want to call an external service API in the Django admin and display the data. Also, I want to create a form so that taking input from the admin, should able to make a POST to external service. My app does not have any models. django-admin…
-1
votes
1 answer

django admin application list in readonly

In django-admin, we have 3 rules that we can attribute to a table we can add, modify and delete. When you choose for an user the rule of modify, he can't add and delete. My problem is that a have list of object and I don't want that the user be able…
-2
votes
1 answer

Create student accounts using django admin

I want to be able to create student user accounts using django admin interface which can be used by students to log in on my website? Any sort of help would be really appreciated.
-3
votes
1 answer

Why do Django developers use Django builtin admin panel? is it said that must to use instead of a html theme?

I want to develop full functional web application in python django. I want to use bootstrap admin theme to develop admin site. I want to know is it required to use django admin while you are a django developer? or it's just a optional function if…
1 2 3 4 5 6 7
8