We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
I'm having the same problem
Sorry, something went wrong.
A workaround is to set the user to None explicitly when setting up the test. For pytest this works for me:
None
pytest
@pytest.fixture(autouse=True) def unset_user(): from django_currentuser.middleware import _set_current_user _set_current_user()
A workaround is to set the user to None explicitly when setting up the test. For pytest this works for me: @pytest.fixture(autouse=True) def unset_user(): from django_currentuser.middleware import _set_current_user _set_current_user()
@zvyn , Thanks 👍
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: