diff --git a/app.py b/app.py index 201eb47..acbf112 100644 --- a/app.py +++ b/app.py @@ -131,7 +131,8 @@ def contacts_delete_all(): contact.delete() flash("Deleted Contacts!") contacts_set = Contact.all(1) - return render_template("index.html", contacts=contacts_set) + page = int(request.args.get("page", 1)) + return render_template("index.html", contacts=contacts_set, archiver=Archiver.get(), page=page) # ===========================================================