mirror of
https://github.com/ajurna/cbwebreader.git
synced 2025-12-06 06:17:17 +00:00
change the comic list view to use a datatable.
This commit is contained in:
@@ -353,5 +353,12 @@ class ComicStatus(models.Model):
|
||||
comic = models.ForeignKey(ComicBook, unique=False, null=False)
|
||||
last_read_page = models.IntegerField(default=0)
|
||||
unread = models.BooleanField(default=True)
|
||||
finished = models.BooleanField(default=False)
|
||||
|
||||
@property
|
||||
def read(self):
|
||||
return self.last_read_page
|
||||
|
||||
def __str__(self):
|
||||
return 'C:{0} P:{1}'.format(self.comic.file_name, self.last_read_page)
|
||||
# TODO: add support to reference items last being read
|
||||
|
||||
Reference in New Issue
Block a user