Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Fixed bug in __unicode__ on UserProfile
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Nov 2, 2015
1 parent b69dc44 commit 97fa570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lizard_auth_server/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class Meta:

def __unicode__(self):
if self.user:
return self.user
return '{}'.format(self.user)
else:
return 'UserProfile {}'.format(self.pk)

Expand Down

0 comments on commit 97fa570

Please sign in to comment.