Create and view quotation page numbers

This commit is contained in:
Mouse Reeve
2021-09-05 16:00:40 -07:00
parent 55b674258d
commit b80de929fd
7 changed files with 116 additions and 8 deletions

View File

@ -290,6 +290,16 @@ class Quotation(BookStatus):
"""like a review but without a rating and transient"""
quote = fields.HtmlField()
position = models.IntegerField(
validators=[MinValueValidator(0)], null=True, blank=True
)
position_mode = models.CharField(
max_length=3,
choices=ProgressMode.choices,
default=ProgressMode.PAGE,
null=True,
blank=True,
)
@property
def pure_content(self):