uncomment error handling for bad shelf id
This commit is contained in:
@ -125,8 +125,8 @@ def shelve(request):
|
|||||||
identifier=request.POST.get('shelf'),
|
identifier=request.POST.get('shelf'),
|
||||||
user=request.user
|
user=request.user
|
||||||
).first()
|
).first()
|
||||||
#if not desired_shelf:
|
if not desired_shelf:
|
||||||
# return HttpResponseNotFound()
|
return HttpResponseNotFound()
|
||||||
|
|
||||||
if request.POST.get('reshelve', True):
|
if request.POST.get('reshelve', True):
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user