Jun-22-2019, 07:45 PM
Not what I was looking for but totally my fault for the lack of communication.
posts = [] for following in current_user.followingList: post = Post.query.filter_by(username=following).first() if post: posts.append(post) posts = Post.query.order_by(order).paginate(parameters) #This will give me all the posts but I only want to use the posts from the list