Solution
@views.route('/view-reservations', methods=['GET', 'POST'])
@login_required
def view_reservations():
return render_template(
'view-reservations.html',
user=current_user.username,
spa_query=SpaReservation.query.filter_by(cust_id=current_user.id).all(),
hotel_query=HotelReservation.query.filter_by(cust_id=current_user.id).all()
)