asa

parent 7fc4fafc
...@@ -9,7 +9,7 @@ db.init_app(app) ...@@ -9,7 +9,7 @@ db.init_app(app)
with app.app_context(): with app.app_context():
db.create_all() db.create_all()
# LISTAR (página inicial) # LISTAR (página inicial)kjk
@app.route('/') @app.route('/')
def index(): def index():
animais = Animal.query.all() animais = Animal.query.all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment