Commits

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

Comments (0)

Files changed (2)

email_login/useradmin.py

 # 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()
     return self.email
     
 User.add_to_class('__unicode__', __email_unicode__)

example/test.db

Binary file removed.