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

Import M2M Empty values imported

Using Widget Many to many when importing the result is empty. Tags do exists in the original model. See Image. import result Excel imported | provider | tag | provider_tag_id | |-----------|-----------------|-----------------| |…
0
votes
0 answers

Can I see what is happening in the django admin side?

Is it possible with Django to have an overview of what is happening when I set an object with the admin interface ? Because I want to give ability to an admin to set some objects, then I want that some modifications automatically impact other…
0
votes
1 answer

Django Admin: Restrict certain staff users to database records in their own group

I want to build the admin site in a way such that, users in a certain group will be able to perform CRUD operations - to records related to their group only. Is there a way this can be accomplished?
0
votes
1 answer

How to reference foreignkeys in history_list_display in django-simple-history?

I have added HistoricalRecords to a model in django. I was able to display columns in history page in admin panel using history_list_display attribute. In those columns, I have employee which can be displayed using employee in the…
0
votes
1 answer

Django Admin. How to Change position of field labels

I need to work with Persian language. Persian is right aligned so I want the labels of model fields to appear on the right side of the input box. I tried to change the admin page CSS but it didn't work.(I changed text-aligned to right-aligned).
behnam.m
  • 41
  • 5
0
votes
1 answer

No formatting supported by TextField in django admin panel

I have Post model and have it registered in admin. It has description of TextField() but while adding new post from admin panel, description area does not support newline or
or any kind of formatting. I have no usage of forms and only way to…
hack3r-0m
  • 700
  • 6
  • 20
0
votes
2 answers

User Model Customisation in Django

I want to edit the User Model in admin.py but I am not able to figure out how can I do this? Here is the Image of Admin Panel of User Model Can someone please help me? I want to add some customized fields in the User model.
0
votes
1 answer

Is there a way to enable selecting multiple files on a single file upload in Django Admin so that upon saving multiple records are created?

I have a case where users upload files and each file has certain attributes. Often times there could be 10 files that will need to be uploaded into the database with the same attributes. To save time, it would be nice to allow the user to select all…
Battosai
  • 1
  • 3
0
votes
1 answer

I am unable to add category urls in my Post

Error Image When i'm trying to add Url of candidate_slug i'm getting an error about: Unknown field(s) (category_slug) specified for Candidate. Check fields/fieldsets/exclude attributes of class CandidateAdmin on add a candidate button and when i…
0
votes
1 answer

Third party model not shown in Django custom admin site (MaterialAdmin)

Problem: I am using django-material-admin in my Django Application. I am also using another third-party package django-eventlog. The problem is I can see the models in my application. But I can't see third party models that are defined in…
0
votes
1 answer

Overriding Django admin inlines formset will not save more than 1 row

I have a straight forward admin.ModelAdmin class with an inlines, of which I am overriding the form and formsets with a forms.Model and BaseInlineFormset to add a custom field. I have a custom jQuery script that gets loaded in and whenever a machine…
Dan2theR
  • 159
  • 2
  • 11
0
votes
0 answers

How to tell if the data entered was through django admin or through HTML form linked with django?

I am new to django platform. And I wanted to add a feature where you can tell if the data entered (let's say an advertisement) was done through django admin portal or through HTML form which is collecting data from user(let's say an advertisement).…
0
votes
1 answer

Django admin model relationship

So, I am building a Store website, I got 2 apps, one app called Store, it has two models "Store" and "UnitStore". The second app is called Product whereas it got single models called Store. In Product admin, I am using a formfield_for_foreignkey…
0
votes
1 answer

Django admin custom queryset for a custom action

I am a bit lost on how to perform a specific queryset in django admin. Below are my models. class People(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=35) phone_number =…
0
votes
1 answer

How to access Google Analytics in django admin panel?

I have a doubt how to google analytics dispaly in django admin panel.can give any suggestion or give proper documentation.I see many documentation cant understand .can give any example code.I tried but its not working can give proper documentation…