def sunglasses(): sunglassesposts = databases.query_by_category("sunglases") return render_template("sunglasses.html" ,sunglasses = sunglassesposts)
def wallets(): walletsposts = databases.query_by_category("wallets") return render_template("wallets.html",wallets = walletsposts)
def bags(): bagsposts = databases.query_by_category("bags") return render_template("bags.html",bags =bagsposts)
def other(): otherposts = databases.query_by_category("others") return render_template("other.html" ,others = otherposts)
def phones(): phoneposts = databases.query_by_category("phones") return render_template("phones.html",phones = phoneposts )
def jewellery(): jewelleryposts = databases.query_by_category("jewellery") return render_template("jewellery.html", jewellery = jewelleryposts)
def clothes(): clothesposts = databases.query_by_category("clothes") return render_template("clothes.html", clothes=clothesposts)
def keys(): keysposts = databases.query_by_category('keys') return render_template("keys.html", keys=keysposts)
def books(): booksposts = databases.query_by_category("books") return render_template("books.html" , books=booksposts)