Permalink
Browse files

Correct field name for joined date

  • Loading branch information...
1 parent b0fc1a3 commit 7061fb21caaaaf9ed0314acc3ce5782b569784d6 @vsr committed Mar 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 twitter_users/backends.py
@@ -12,7 +12,7 @@ def authenticate(self, twitter_id=None, screen_name=None, token=None, secret=Non
def copy_info(user_info, info):
# There must be a better way of doing this. I don't know :$
if user_info['lang']: info.lang = user_info['lang']
- if user_info['created_at']: info.joined = datetime.strptime(user_info['created_at'], "%a %b %d %H:%M:%S +0000 %Y")
+ if user_info['created_at']: info.joined_on = datetime.strptime(user_info['created_at'], "%a %b %d %H:%M:%S +0000 %Y")
if user_info['url']: info.url = user_info['url']
if user_info['profile_image_url']: info.profile_image = user_info['profile_image_url']
if user_info['protected']: info.protected = user_info['protected']

0 comments on commit 7061fb2

Please sign in to comment.