Commit 16ff9c8e authored by Agu Syquia's avatar Agu Syquia

Updated models.py

fixed the string return function to return the title specifically
parent a7eb0148
......@@ -20,4 +20,4 @@ class Books(models.Model):
blurb = models.TextField(max_length=700)
def __str__(self):
return self
return self.title
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