show date

This commit is contained in:
q
2016-07-03 23:52:14 +03:00
parent ca7ce92a04
commit 8728e199c3
3 changed files with 8 additions and 5 deletions

View File

@@ -130,7 +130,8 @@ def show_shop(shopid):
for row in cur.fetchall():
if row[0]==shopid:
shared_to.append(get_username(row[1]))
return render_template('show_shop.html', entries=entries, shop=shopname, shopid=shopid, content=content,shares=shared_to)
return render_template('show_shop.html', entries=entries, shop=shopname,
shopid=shopid, content=content,shares=shared_to,date=get_shop_date(shopid))
@app.route('/')
def list_shops():