[Solved]-Should my soft-deletion-honouring model manager be my model's default manager?

4👍

As per this documentation, if you run ./manage.py dumpdata -a or ./manage.py dumpdata --all, then it will dump data using default manager instead of custom manager. If you want to use your default manager instead of custom manager(without changing in models) then you can try like this:

objects = YourModel._base_manager
objects.all()
👤ruddra

Leave a comment