Sorry, forgot to make clear that the above allows you to do: #get the identity user u = User(1)
#create myUser mu=myUser(fk_to_user=None) mu.user=u # can now reference the attributes of the user through mu email = mu.user.emailAddress
Sorry, forgot to make clear that the above allows you to do: #get the identity user u = User(1)
#create myUser mu=myUser(fk_to_user=None) mu.user=u # can now reference the attributes of the user through mu email = mu.user.emailAddress