Permalink
Browse files

add a method to bluebird backends

  • Loading branch information...
1 parent 0e2a403 commit 4796e56c0dfa1702c790615c5e148f406232c815 @chrisdickinson committed Aug 14, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 bluebird/backends.py
View
3 bluebird/backends.py
@@ -51,3 +51,6 @@ def update_twitter_profile(self, twitter_id, credentials):
except TwitterProfile.DoesNotExist:
profile = TwitterProfile(twitter_identification=twitter_id, raw_data=simplejson.dumps(credentials))
profile.save()
+
+ def get_user(self, pk):
+ return User.objects.get(pk=pk)

0 comments on commit 4796e56

Please sign in to comment.