s/raise/return/

TypeError: exceptions must be old-style classes or derived from BaseException,
not HttpResponseBadRequest