1
0
Fork 0

CSS reorg and cleans up ui

Fixes #93
This commit is contained in:
Mouse Reeve 2020-04-01 19:38:07 -07:00
parent cfff75764b
commit 976e7ddf79
13 changed files with 302 additions and 255 deletions

View file

@ -7,7 +7,7 @@ from fedireads import models
def sync_book_data():
''' update books with any changes to their canonical source '''
expiry = timezone.now() - timedelta(days=1)
books = models.Book.objects.filter(
books = models.Edition.objects.filter(
sync=True,
last_sync_date__lte=expiry
).all()