From 1b63c19a9cdda42b6b64aac8b65106dc522adef4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 17 Feb 2022 17:10:12 -0800 Subject: [PATCH] Fixes error in previous PR --- bookwyrm/templates/layout.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index fe3bc7f52..a7ea3923e 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -209,8 +209,11 @@
+ {# almost every view needs to know the user shelves #} + {% with request.user.shelf_set.all as user_shelves %} {% block content %} {% endblock %} + {% endwith %}