Commit 5cf1cbff authored by Angelo Alvarez's avatar Angelo Alvarez

Fixed Bugs in Models of Bookshelf App

parent e2822958
......@@ -17,4 +17,7 @@ class Books(models.Model):
publisher = models.CharField(max_length=50)
year_published = models.IntegerField()
ISBN = models.IntegerField()
blurb = models.TextField(max_length=1000)
\ No newline at end of file
blurb = models.TextField(max_length=1000)
def __str__(self):
return self.title
\ No newline at end of file
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