summaryrefslogtreecommitdiff
path: root/allotter/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'allotter/models.py')
-rw-r--r--allotter/models.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/allotter/models.py b/allotter/models.py
index fc0353c..0004505 100644
--- a/allotter/models.py
+++ b/allotter/models.py
@@ -103,7 +103,7 @@ class Application(models.Model):
def __unicode__(self):
u = self.user
- return u'Application for {0} {1}'.format(u.first_name, u.last_name)
+ return u'Application for {0}'.format(u.username)
class Profile(models.Model):
@@ -118,7 +118,7 @@ class Profile(models.Model):
def __unicode__(self):
u = self.user
- return u'User Profile {0} {1}'.format(u.first_name, u.last_name)
+ return u'User Profile {0}'.format(u.username)