diff options
Diffstat (limited to 'app/books/models.py')
-rw-r--r-- | app/books/models.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/app/books/models.py b/app/books/models.py deleted file mode 100644 index 4e28b3d..0000000 --- a/app/books/models.py +++ /dev/null @@ -1,20 +0,0 @@ -from django.db import models - -class Book(models.Model): - id = models.IntegerField(primary_key=True) - title = models.CharField(max_length=200) - author_name = models.CharField(max_length=200) - slug = models.CharField(max_length=50) - url = models.CharField(max_length=400) - year_pub = models.CharField(max_length=5) - read_date = models.DateTimeField() - isbn = models.CharField(max_length=100) - body_html = models.TextField() - pub_date = models.DateTimeField() - tags = models.CharField(max_length=255) - rating = models.CharField(max_length=1) - enable_comments = models.BooleanField() - status = models.IntegerField() - - - |