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
InstaDemo/Insta/views.py
Lines 20 to 25 in 79d55e1
should change to:
def get_queryset(self): if not self.request.user.is_authenticated: return current_user = self.request.user following = set() for conn in UserConnection.objects.filter(creator=current_user).select_related('following'): following.add(conn.following) return Post.objects.filter(author__in=following)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
InstaDemo/Insta/views.py
Lines 20 to 25 in 79d55e1
should change to:
The text was updated successfully, but these errors were encountered: