Hi there
I have a funny problem with the function query.all() After 3 days it stops working and then, if I delete all rows in the table, it starts working again. I know im missing something but I cant figur out what it is.
Hope somebody can help - the function is below
@app.route('/show_all')
def show_all():
return render_template('show_all.html', all_temp = bear.query.order_by(bear.times.desc()).limit(50).all())
[edit by admin: code formatting]