def get_json_response(self, content, **httpresponse_kwargs):
        return HttpResponse(
            content, content_type='application/json', **httpresponse_kwargs)
The 404 page should have the csrf_token available in the context
dataset/ETHPy150Open ofa/connect/open_connect/connect_core/utils/views.py/JSONResponseMixin.get_json_response--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/tests/view_tests/tests/test_defaults.py/DefaultsTests.test_csrf_token_in_404