Permalink
Browse files

Model efficiency

  • Loading branch information...
AeroNotix committed May 14, 2012
1 parent 4da066a commit 205447c42c6d517702573ff40210021249d8967c
Showing with 2 additions and 2 deletions.
  1. +2 −2 timetracker/tracker/models.py
@@ -288,12 +288,12 @@ def display_users(self):
table_data_string = """
<tr>
- <td>{0} {1}</td>
+ <td>{0}</td>
</tr>
"""
table_inner_list = [
- table_data_string.format(user.firstname, user.lastname)
+ table_data_string.format(user.name())
for user in self.users.all()
]

0 comments on commit 205447c

Please sign in to comment.