def groupData(guser=None, details=None, gid=None): return stackptr_core.groupData(db=db, guser=guser, gid=gid)
def groupdata(): return json.dumps(stackptr_core.groupData(db=db, guser=g.user, gid=request.form.get('gid')))