remove bookmark model

This commit is contained in:
Francesco Esposito 2019-11-23 12:23:11 +01:00
parent 0c47a7f58a
commit 59cc50f300
1 changed files with 0 additions and 8 deletions

View File

@ -15,11 +15,3 @@ class Book(models.Model):
def _str_(self):
return self.title
class Bookmark(models.Model):
position = models.IntegerField()
book = models.ForeignKey(Book, on_delete=models.CASCADE)
owner = models.ForeignKey('auth.User', related_name='bookmarks', on_delete=models.CASCADE)
created = models.DateTimeField(auto_now_add=True)
def _str_(self):
return self.title