def __init__(self, message): DjangoHttpResponseBadRequest.__init__(self, message_to_json(message), content_type='application/json')
def __init__(self): HttpResponseBadRequest.__init__(self) self.write('<p>Bad Request. Please check your query and try again.</p>')
def __init__(self, request, msg): HttpResponseBadRequest.__init__(self, '<h1>400 Bad Request</h1><p>%s</p>'%msg)