Skip to content

Commit fc2d3d9

Browse files
committed
reordering sites list from new to old
1 parent 5395d25 commit fc2d3d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ def shop_owner_login():
236236
def shops():
237237
"""List all shops"""
238238
shops = Shop.query.all()
239+
shops = reversed(shops)
239240
return render_template("shops.html", shops=shops)
240241

241242

0 commit comments

Comments
 (0)