From e81de08e7f66137cb5c53b1140801514fbf885fd Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 31 Mar 2021 09:54:52 -0700 Subject: [PATCH] Missed a url --- bookwyrm/templates/user/user.html | 3 ++- bookwyrm/urls.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/user/user.html b/bookwyrm/templates/user/user.html index 2b9968722..a54664cef 100644 --- a/bookwyrm/templates/user/user.html +++ b/bookwyrm/templates/user/user.html @@ -1,5 +1,6 @@ {% extends 'user/user_layout.html' %} {% load i18n %} +{% load bookwyrm_tags %} {% block title %}{{ user.display_name }}{% endblock %} @@ -43,7 +44,7 @@ {% endfor %} - {% trans "View all books" %} + {% trans "View all books" %} {% endif %} diff --git a/bookwyrm/urls.py b/bookwyrm/urls.py index c5f2f542f..cd7a4e41b 100644 --- a/bookwyrm/urls.py +++ b/bookwyrm/urls.py @@ -161,7 +161,7 @@ urlpatterns = [ re_path( r"^%s/(books|shelf)/(?P[\w-]+)(.json)?/?$" % local_user_path, views.Shelf.as_view(), - name="shelf" + name="shelf", ), re_path(r"^create-shelf/?$", views.create_shelf, name="shelf-create"), re_path(r"^delete-shelf/(?P\d+)?$", views.delete_shelf),