Caches suggested books

This commit is contained in:
Mouse Reeve
2022-01-05 13:12:49 -08:00
parent 3cda27577f
commit ad6d7d5eca
5 changed files with 97 additions and 81 deletions

View File

@ -223,7 +223,6 @@ def feed_page_data(user):
goal = models.AnnualGoal.objects.filter(user=user, year=timezone.now().year).first()
return {
"suggested_books": get_suggested_books(user),
"goal": goal,
"goal_form": forms.GoalForm(),
}