Beispiel #1
0
def all():
    u = current_user()
    list = Note.getAll(u, None)
    return (list)
Beispiel #2
0
def all(gid):
    u=current_user()
    g = Group.get_one_by(group_id=gid)
    list = Note.getAll(None, g)
    return (list)