Person CRUD working

This commit is contained in:
tomtom5152
2014-10-31 01:12:59 +00:00
parent f4e23e6e5b
commit 74bc6826ea
6 changed files with 52 additions and 4 deletions

View File

@@ -34,6 +34,6 @@ class Person(models.Model):
def __unicode__(self):
string = self.name
if self.comments:
if self.comments.count() > 0:
string += "*"
return string