Better user block privacy
This commit is contained in:
parent
a617302006
commit
364b053d9a
8 changed files with 28 additions and 16 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue