Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working during testing #300

Open
denyswsu opened this issue Jul 26, 2024 · 0 comments
Open

Not working during testing #300

denyswsu opened this issue Jul 26, 2024 · 0 comments

Comments

@denyswsu
Copy link

First of all I want to thank you for this library!

But the problem I faced was that it didn't work in my tests, I spend about a day to find the issue and resolve it.

So just after browsing the source code I realized that TEST = True needs to be set in django settings for it to work, because otherwise it's called after transaction is finished (which is not the case inside test method).

Leaving it here for people who will face same problem, or let's add it to README/wiki?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant