google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

Flickr app only accepts usernames #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It's not really a bug, I just thought it was be good if the funtions could
accept a username OR an nsid.

so I wrote a decorator that does just that. (Included in the patch)

The reason this is useful is because flickr lets users change their
username... so if you store them in a database, you have a problem when
they change it... the nsid on the other hand does not change.

this way you can store an nsid in your user profile and not worry :)

I've attached a patch for syncr.app.flickr

Original issue reported on code.google.com by Jim.mixt...@gmail.com on 3 Mar 2009 at 4:09

Attachments:

GoogleCodeExporter commented 9 years ago
PS - sorry the patch is so long... I had to change all the functions that take a
username as their argument... the changes are simple though :)

Original comment by Jim.mixt...@gmail.com on 3 Mar 2009 at 4:10

GoogleCodeExporter commented 9 years ago
Thank you @jim. Will merge the patch with some more bug fixes.. 

Original comment by yash...@gmail.com on 4 Mar 2009 at 1:04