diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8aafa25 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +book.sqlite diff --git a/app.py b/app.py index 3297a53..78e3e20 100644 --- a/app.py +++ b/app.py @@ -118,8 +118,6 @@ def search(): def contacts_delete(): ''' Delete contact - - :param id: Id from contact ''' try: mi_contacto = Contact.query.filter_by(id=request.form['id']).first() diff --git a/templates/web/edit_contact.html b/templates/web/edit_contact.html index 4cf8efa..2483aa3 100644 --- a/templates/web/edit_contact.html +++ b/templates/web/edit_contact.html @@ -1,4 +1,3 @@ {% extends 'web/contact_form.html' %} {% block title %}Edit contact{% endblock %} -{% block form_action %}{{ url_for('edit_contact', id=contact_id) }}{% endblock %} - \ No newline at end of file +{% block form_action %}{{ url_for('edit_contact', id=contact_id) }}{% endblock %} \ No newline at end of file