Django Admin Actions django-admin comes by default with django installation and it is one of strongest feature of django. So there are many actions that can be taken by django like add user, change their permissions, change their access levels and many more.
Questions tagged [django-admin-actions]
113 questions
0
votes
1 answer
Button on Django admin main page to show a custom template admin view
I would to customize my Django admin site.
I need to add a button (for example on the top of main page...for example) to show an custom page where I need to have a google maps with some marker.
So:
Is possibile to add a button somewhere in the…

Safari
- 11,437
- 24
- 91
- 191
0
votes
1 answer
execute django admin action as a celery task
Normal functions can be executed as django admin actions. I want to export data as csv file. Due to the size of data, I am trying to execute this as a celery task. But objects of model, request, queryset etc cannot be passed to a task.
Is there any…

shinoymm
- 315
- 1
- 3
- 10
0
votes
1 answer
Django Admin Actions: Add "Students" to "Academic Class"
Django 1.7, Python 3.0, Postgresql
Thanks for taking time to read this, I expect I am missing something obvious here.
For simplicity, let's say that my models are:
Student
AcademicClass
I am wanting to use Admin Actions to:
1st: Select Students…

Neal Jones
- 450
- 5
- 19
0
votes
2 answers
Google map Autocompletion in Django Admin Add form
I have a model which uses source and destination fields and these are usually populated from a frontend template. Template has two form fields which are associated with Google map autocomplete APIs. But if I want to create a new object through admin…

pnhegde
- 695
- 1
- 8
- 19
0
votes
1 answer
Removing(unregistering) a section from django admin page
From the django admin page, I wanted to remove a section of an app. At first, the admin.py had this contents:
admin.site.register(MyUser)
So I changed it to be:
admin.site.unregister(MyUser)
and it caused Internal Server Error.
What should I do to…

Faith
- 35
- 3
-1
votes
1 answer
How to retry when exception occurs in Django Admin?
I want to retry if exception occurs in Django Admin:
When trying to add data:
When trying to change data:
When clicking on Delete on "Change" page:
Then clicking on Yes, I'm sure to try deleting data:
When clicking on Go on "Select to…

Super Kai - Kazuya Ito
- 22,221
- 10
- 124
- 129
-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…

Hervé
- 149
- 5
- 14
-2
votes
1 answer
Django admin, how select several fields and edit at once
Good time. How to do following in Django admin:
For example, I have model called Events. I have some events created. I have fields like event name, .... and also field "planning Date"
I need set the same date in "planning Date" field for 5…

Elmar Abdulkarimov
- 31
- 4