1
0
Fork 0

Better user block privacy

This commit is contained in:
Mouse Reeve 2021-02-23 12:41:37 -08:00
parent a617302006
commit 364b053d9a
8 changed files with 28 additions and 16 deletions

View file

@ -19,7 +19,7 @@ class Shelf(View):
def get(self, request, username, shelf_identifier):
''' display a shelf '''
try:
user = get_user_from_username(username)
user = get_user_from_username(request.user, username)
except models.User.DoesNotExist:
return HttpResponseNotFound()