summaryrefslogtreecommitdiff
path: root/app/books/models.py
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2020-12-20 12:00:43 -0500
committerlxf <sng@luxagraf.net>2020-12-20 12:00:43 -0500
commitea2a62f8e83808904ef58659fc4a52c9a5e98e0e (patch)
treeb318b7528b2c0a73e452260ce7b7a9a5ef26b77e /app/books/models.py
parent099d4cf95be062e9f5259a323f54d6e7df4ec301 (diff)
added a way to hide highlights and edit inline with book
Diffstat (limited to 'app/books/models.py')
-rw-r--r--app/books/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/books/models.py b/app/books/models.py
index c25cdc5..5ed972f 100644
--- a/app/books/models.py
+++ b/app/books/models.py
@@ -110,6 +110,7 @@ class BookHighlight(models.Model):
date_highlighted = models.DateTimeField()
body_markdown = models.TextField()
body_html = models.TextField(blank=True)
+ is_public = models.BooleanField(default=True)
class Meta:
ordering = ('-date_highlighted', '-page',)