parameters: ()
docstring: u"""flask.g.user を GoogleAuth が作ったオブジェクトから models.User に置き換える.
docstring_summary: u"""flask.g.user を GoogleAuth が作ったオブジェクトから models.User に置き換える.
docstring_tokens: u flask . g . user を GoogleAuth が作ったオブジェクトから models . User に置き換える .
function: def get_user():
      u"""flask.g.user を GoogleAuth が作ったオブジェクトから models.User に置き換える."""
      user = flask.g.user
      email = user.email
      name = user.last_name + ' ' + user.first_name
      user, _ = User.objects.get_or_create(name=name, email=email)
      flask.g.user = user
function_tokens: def get_user ( ) : user = flask . g . user email = user . email name = user . last_name + ' ' + user . first_name user , _ = User . objects . get_or_create ( name = name , email = email ) flask . g . user = user