~ltp-devs/loco-team-portal/0.2

« back to all changes in this revision

Viewing changes to loco_directory/userprofiles/models.py

  • Committer: Chris Johnston
  • Date: 2011-03-06 19:56:17 UTC
  • mfrom: (414.1.1 trunk)
  • Revision ID: chrisjohnston@ubuntu.com-20110306195617-be4b67ba79s46m8r
Fixes error in lpupdate. Props mhall119

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    if created:
74
74
        user.save()
75
75
    from common import launchpad
76
 
    launchpad.set_user_openid(user)
 
76
    launchpad.set_user_openid(user, force=True)
77
77
    profile, created = UserProfile.objects.get_or_create(user=user)
78
78
    if created:
79
79
        # set real name as username for now,