Relative Content

Tag Archive for djangodjango-formsdjango-admin

Django Admin: Custom bulk duplication action not processing form data correctly

Title: Django Admin: Custom bulk duplication action not processing form data correctly Description: I’m trying to implement a custom action in Django Admin to duplicate records in bulk for a model. The process should work as follows: Select multiple records in the Django Admin. Click on a custom action called “Duplicate selected records in bulk”. […]

Change DateField Input format on django admin edit page

I have a Django project where users can submit requests and then our admin’s can view these requests through Django’s admin page. I’d like the TimeField on the change page to be in a different format when one our our admins selects an object to change. The image below show what a list of objects looks like through the list display page. The Start time is in a 12 hour format using AM/PM.