added a space between the first name and last name in author object name

parent b183303b
...@@ -11,7 +11,7 @@ class Author(models.Model): ...@@ -11,7 +11,7 @@ class Author(models.Model):
bio = models.CharField(max_length = 700) bio = models.CharField(max_length = 700)
def __str__(self): def __str__(self):
return self.first_name + self.last_name return self.first_name + " " + self.last_name
#Book #Book
#title; author; publisher; year_published; ISBN; blurb #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