From 87e3b174d957658029cc2643b1f08d5ad6fcd0c6 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Tue, 1 May 2018 14:33:45 +0200 Subject: [PATCH] Add url and opti migrations --- migrations.py | 3 ++- templates/layouts/master.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/migrations.py b/migrations.py index b9e913e..358c896 100644 --- a/migrations.py +++ b/migrations.py @@ -17,4 +17,5 @@ for num in range(100): # Save in database mi_contacto = Contact(name=name, surname=surname, email=email, phone=phone) db.session.add(mi_contacto) - db.session.commit() + +db.session.commit() diff --git a/templates/layouts/master.html b/templates/layouts/master.html index a4754bc..6edf0a9 100644 --- a/templates/layouts/master.html +++ b/templates/layouts/master.html @@ -19,7 +19,7 @@ - Contact Manager + Contact Manager