def mark_as_owned(request, isbn, user): internalapi.mark_as_owned(isbn, user)
def ownbook(request, isbn): internalapi.mark_as_owned(isbn, request.user) return HttpResponseRedirect('/accounts/profiles/'+request.user.username)