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

AttributeError: 'WSGIRequest' object has no attribute 'user' #61

Open
osnippet opened this issue May 2, 2021 · 0 comments
Open

AttributeError: 'WSGIRequest' object has no attribute 'user' #61

osnippet opened this issue May 2, 2021 · 0 comments
Labels

Comments

@osnippet
Copy link

osnippet commented May 2, 2021

I am trying to fix this warning which randomly thrown in the console.

File ".../python3.9/site-packages/pinax/messages/context_processors.py", line 6, in user_messages
if request.user.is_authenticated:
AttributeError: 'WSGIRequest' object has no attribute 'user'

I tried different versions of Django (2.2 - 3.2) but the problem still showing up.
Desktop

  • OS: [Linux Debian]
  • Version [pinax-messages==3.0.0]

Additional context
I follow the documentation everything works great except from that annoying warning I get while running dev server.

@osnippet osnippet added the bug label May 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant