fixed object name function

parent 5cda0e7f
......@@ -11,7 +11,7 @@ class Author(models.Model):
bio = models.CharField(max_length = 700)
def __str__(self):
return self.first_name + ", " + self.last_name
return self.first_name + self.last_name
#Book
#title; author; publisher; year_published; ISBN; blurb
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment