Replace HttpResponseBadRequest with ValidationError