Add url and opti migrations
This commit is contained in:
parent
afb35ea3b5
commit
87e3b174d9
@ -17,4 +17,5 @@ for num in range(100):
|
|||||||
# Save in database
|
# Save in database
|
||||||
mi_contacto = Contact(name=name, surname=surname, email=email, phone=phone)
|
mi_contacto = Contact(name=name, surname=surname, email=email, phone=phone)
|
||||||
db.session.add(mi_contacto)
|
db.session.add(mi_contacto)
|
||||||
db.session.commit()
|
|
||||||
|
db.session.commit()
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</button>
|
</button>
|
||||||
<a class="navbar-brand" href="#">Contact Manager</a>
|
<a class="navbar-brand" href="/">Contact Manager</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
<form action="{{ url_for('search') }}" method="get" class="navbar-form navbar-left">
|
<form action="{{ url_for('search') }}" method="get" class="navbar-form navbar-left">
|
||||||
|
Loading…
Reference in New Issue
Block a user