def connect_db():
    return sqlite3.connect(app.config['DATABASE'])
Get the current page for the request.
dataset/ETHPy150Open dag/flask-genshi/examples/flaskr/flaskr.py/connect_db--crossover with--dataset/ETHPy150Open sdispater/orator/orator/pagination/length_aware_paginator.py/LengthAwarePaginator._set_current_page