On 5 October 2010 22:30, Robert Kluin <[email protected]> wrote: > Are you saying that your query works, but it is returning a list > instead of a single instance? > > If maybe this is what you want? > > user = User.all().filter('GoogleAccount', users.get_current_user()).get() > if not user: > # make a new user or something > pass
Many thanks Robert - works a treat. Regards, Geoff -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
