Open ahmad88me opened 3 years ago
Also breaks when I upgrade from django 2.1 to django 2.2.
I think this might be related to part of whats new in 2.2.
Django no longer always starts a transaction when a single query is being performed, such as Model.save(), QuerySet.update(), and Model.delete(). This improves the performance of autocommit by reducing the number of database round trips.
One line description of the issue
Error deleting in Django 3.0.5 but works on Django 2.1
Python script