Cleans up review logic
This commit is contained in:
@ -36,10 +36,11 @@ def home(request):
|
||||
following = models.User.objects.filter(
|
||||
Q(followers=request.user) | Q(id=request.user.id)
|
||||
)
|
||||
# TODO: handle post privacy
|
||||
# TODO: this is fundamentally not how the feed should work I think? it
|
||||
# should do something smart with inboxes. (in this implementation it would
|
||||
# show DMs meant for other local users)
|
||||
activities = models.Activity.objects.filter(
|
||||
user__in=following,
|
||||
|
||||
).select_subclasses().order_by(
|
||||
'-created_date'
|
||||
)[:10]
|
||||
|
Reference in New Issue
Block a user