This commit is contained in:
Andros Fenollosa 2018-05-01 14:35:20 +02:00
parent a50c9be35f
commit fddb20c713
2 changed files with 3 additions and 2 deletions

View File

@ -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()

View File

@ -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">