2009/6/21 Alessandro Ronchi
>
> it gets into the except and tries to open another User with the same id!
>
It seemed to be a very big int for uid that caused a truncation when saving
into database.
--
Alessandro Ronchi
Skype: aronchi
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi
2009/6/21 Alessandro Ronchi
> I have a very strange problem.
>
> With this function:
>
> def get_current(self):
>
> facebook = get_facebook_client()
> user, created = self.get_or_create(id=int(facebook.uid))
> if created:
> # we could do some custom actions
I have a very strange problem.
With this function:
def get_current(self):
facebook = get_facebook_client()
user, created = self.get_or_create(id=int(facebook.uid))
if created:
# we could do some custom actions for new users here...
pass
3 matches
Mail list logo