Hello Jeff, On Tue, Mar 10, 2009 at 10:46 AM, Jeff S <[email protected]> wrote: > > Hi Ritesh, > > I didn't see any obvious issue with your code snippet, so more context > would be helpful. Also it seems that _get_user_nick_name may not > return what is expected. > > def _get_user_nick_name(self): > return self.user > > I think you want to return self.user.nickname()
Yes. That was just a test code. I actually have user.nickname() in my code. Though I might not even need the usernick property as user.nickname is same. I checked in my datastore and the correct data is also getting sored so I dont know. Running some other tests to see where the issue might be. > > Thank you, > > Jeff > > On Mar 9, 7:38 pm, Ritesh Nadhani <[email protected]> wrote: >> Hi >> >> http://paste.pocoo.org/show/107208/ >> >> So here is my code sample. Is there any reason why user property would >> be None if the user is logged out or if a user is logged in then the >> current logged in user info. It does not keep different user info. >> >> Surprisingly, I have another model in which I am storing the user >> property too and that is able to save the user info correctly >> >> -- >> Riteshhttp://www.riteshn.com > > > -- Ritesh http://www.riteshn.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
