Beispiel #1
0
def current_animals():
        
    owner = current_user
    owner_id = owner.get_id()   
    
    return render_template("animals/current.html", form = FoodForm(), 
        currentanimals = User.find_animals_of_current_user(owner_id), currentfoods = User.find_foods_of_current_user(owner_id),
        counts = User.count_animals_of_current_user(owner_id), average = User.average_of_food_prices(owner_id))