Changeset - 837fc99ca140
default
0
2
0
auth: have fill_data take User object, not lookup key
Simplify the UserModel.fill_data interface by passing the actual db.User
object instead of a key by which it can be looked up. This also saves a
lookup in case the db.User is already loaded (which for now is only the
case in one place, but that'll change in the following changesets).
Also enhance fill_data docstring.
Simplify the UserModel.fill_data interface by passing the actual db.User
object instead of a key by which it can be looked up. This also saves a
lookup in case the db.User is already loaded (which for now is only the
case in one place, but that'll change in the following changesets).
Also enhance fill_data docstring.
2 files changed with 11 insertions and 21 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)