test
This commit is contained in:
parent
329abd48aa
commit
43a8d4020e
2
app.py
2
app.py
@ -73,7 +73,9 @@ def contacts():
|
|||||||
'''
|
'''
|
||||||
Show alls contacts
|
Show alls contacts
|
||||||
'''
|
'''
|
||||||
|
print(app.config['SQLALCHEMY_DATABASE_URI'])
|
||||||
contacts = Contact.query.order_by(Contact.name).all()
|
contacts = Contact.query.order_by(Contact.name).all()
|
||||||
|
print(len(contacts))
|
||||||
return render_template('web/contacts.html', contacts=contacts)
|
return render_template('web/contacts.html', contacts=contacts)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user