Haki Benita
1 min readJul 8, 2017

--

Hey, that’s a good question.

The admin uses Django’s built in save / create / delete methods to manipulate objects so either approach would require some adjustments for the admin.

I have another article about Django admin where I demostrate how to add custom actions to Django admin. In the article implmented the pessimistic approach:

Some packages, such as django-fsm, are implementing the optimistic approach by overriding the save method so they should work nicely with Django admin.

--

--

Haki Benita
Haki Benita

Written by Haki Benita

Full Stack Developer, Team Leader, Independent. More from me at https://hakibenita.com

Responses (1)