Alphabetie
This commit is contained in:
parent
aa1664eea0
commit
89b8e5e1ef
|
@ -10,10 +10,10 @@ import vanth.tables
|
||||||
|
|
||||||
def _to_dict(result):
|
def _to_dict(result):
|
||||||
return {
|
return {
|
||||||
'username' : result[vanth.tables.User.c.username],
|
|
||||||
'password' : result[vanth.tables.User.c.password],
|
'password' : result[vanth.tables.User.c.password],
|
||||||
'name' : result[vanth.tables.User.c.name],
|
'name' : result[vanth.tables.User.c.name],
|
||||||
'uri' : sepiida.routing.uri('user', result[vanth.tables.User.c.uuid]),
|
'uri' : sepiida.routing.uri('user', result[vanth.tables.User.c.uuid]),
|
||||||
|
'username' : result[vanth.tables.User.c.username],
|
||||||
}
|
}
|
||||||
|
|
||||||
def by_filter(filters):
|
def by_filter(filters):
|
||||||
|
|
Loading…
Reference in New Issue