I need a way of doing smething similar to this:
page = request.args.get(\'page\',1,type=int) posts = Post.query.filter_by(area = current_user.area).order_by(P