Tino de Bruijn  committed 2395b95

Updated the User's __unicode__ method to try to use the users full name first, istead of their email address.
Also removed test.db from the example project

  • Participants
  • Parent commits 571b5c0
  • Branches default

Comments (0)

Files changed (2)

File email_login/

 # Override User's __unicode__ method to display something legible instead of
 # a hexdigest
 def __email_unicode__(self):
+    if self.get_full_name():
+        return self.get_full_name()
 User.add_to_class('__unicode__', __email_unicode__)

File example/test.db

Binary file removed.