Fixes shelf page template path bug

This commit is contained in:
Mouse Reeve
2021-01-30 12:03:50 -08:00
parent 7afab352b1
commit 0c723eb550
3 changed files with 15 additions and 17 deletions

View File

@ -62,7 +62,7 @@ class Shelf(View):
'books': [b.book for b in books],
}
return TemplateResponse(request, 'shelf.html', data)
return TemplateResponse(request, 'user/shelf.html', data)
@method_decorator(login_required, name='dispatch')
# pylint: disable=unused-argument