def GET(self,aid): if isadmin(): try: data=db.select(artt,where="id="+aid) return render.edit(True,int(aid),data[0]) except: return render.error() else: return render.error()
def GET(self): if isadmin(): return render.edit(True,0,0) else: return render.error()