fixed spacing conventions

parent 979dfb51
...@@ -12,6 +12,7 @@ class Author(models.Model): ...@@ -12,6 +12,7 @@ class Author(models.Model):
#Book #Book
#title; author; publisher; year_published; ISBN; blurb #title; author; publisher; year_published; ISBN; blurb
class Book(models.Model): class Book(models.Model):
title = models.CharField(max_length = 100) title = models.CharField(max_length = 100)
author = models.ForeignKey(Author, on_delete = models.CASCADE) author = models.ForeignKey(Author, on_delete = models.CASCADE)
......
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