uncomment error handling for bad shelf id

This commit is contained in:
Mouse Reeve 2021-01-30 15:56:22 -08:00
parent 74d37c84be
commit 765a6a1878

View file

@ -125,8 +125,8 @@ def shelve(request):
identifier=request.POST.get('shelf'),
user=request.user
).first()
#if not desired_shelf:
# return HttpResponseNotFound()
if not desired_shelf:
return HttpResponseNotFound()
if request.POST.get('reshelve', True):
try: