Adds active field to readthrough model
This commit is contained in:
parent
5ad315faac
commit
a05ef1a222
2 changed files with 19 additions and 0 deletions
|
@ -27,6 +27,7 @@ class ReadThrough(BookWyrmModel):
|
|||
)
|
||||
start_date = models.DateTimeField(blank=True, null=True)
|
||||
finish_date = models.DateTimeField(blank=True, null=True)
|
||||
is_active = models.BooleanField(default=False)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
"""update user active time"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue