ProgressUpdate doesn't need its own date field
Just use the base model's created_date
This commit is contained in:
parent
090cf2aea7
commit
64fb88cc10
4 changed files with 2 additions and 4 deletions
|
@ -339,7 +339,6 @@ class ProgressUpdate(BookWyrmModel):
|
|||
readthrough = models.ForeignKey('ReadThrough', on_delete=models.PROTECT)
|
||||
progress = models.IntegerField()
|
||||
mode = models.CharField(max_length=3, choices=ProgressMode.choices, default=ProgressMode.PAGE)
|
||||
date = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
''' update user active time '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue