Merge branch 'master' of http://github.com/serverplot/mongoengine into v0.4
This commit is contained in:
commit
954d5c16d8
@ -32,6 +32,9 @@ class User(Document):
|
||||
last_login = DateTimeField(default=datetime.datetime.now)
|
||||
date_joined = DateTimeField(default=datetime.datetime.now)
|
||||
|
||||
def __unicode__(self):
|
||||
return self.username
|
||||
|
||||
def get_full_name(self):
|
||||
"""Returns the users first and last names, separated by a space.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user