From fc2d3d963cdfd6df51705bf6a08814a37cb0539c Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 14 Feb 2022 16:01:31 -0400 Subject: [PATCH] reordering sites list from new to old --- __init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/__init__.py b/__init__.py index dbd7379..6e1e38e 100644 --- a/__init__.py +++ b/__init__.py @@ -236,6 +236,7 @@ def shop_owner_login(): def shops(): """List all shops""" shops = Shop.query.all() + shops = reversed(shops) return render_template("shops.html", shops=shops)