scoursen / django-softdelete

Soft delete for Django ORM, with support for undelete.
Other
376 stars 102 forks source link

Fixes invalid using argument. #103

Closed emorozov closed 1 year ago

emorozov commented 1 year ago

There's quite serious bug in the source code. Argument to using should be the name of the connection, not the dict with the database connection settings itself.

It seems that the bug exists from the very beginning of the project, weird that it was never noticed. I guess that Django just ignores invalid using argument.

But it breaks deletion if you use django-softdelete and django-cacheops in the same application.