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

Bug: AttributeError at /follow/username/ 'AnonymousUser' object has no attribute 'userprofile' #1717

Closed
DonnieBLT opened this issue Jan 28, 2024 · 2 comments
Assignees

Comments

@DonnieBLT
Copy link
Collaborator

File "/app//python/lib/python3.11/site-packages/sentry_sdk/integrations/django/views.py", line 84, in sentry_wrapped_callback
return callback(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/website/views.py", line 2000, in follow_user
list_userfrof = request.user.userprofile.follows.all()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/python/lib/python3.11/site-packages/django/utils/functional.py", line 268, in inner
return func(_wrapped, *args)
^^^^^^^^^^^^^^^^^^^^^

@HanilJain
Copy link
Contributor

/assign

Copy link
Contributor

You are already assigned to another open issue, please wait until until it's closed or remove your assignment to get assigned to this issue.

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

2 participants