show date
This commit is contained in:
3
shop.py
3
shop.py
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user