def test_ajax_no_redirect(self):
        req = self.req(
            "post", "/the/url?filter=value", data={"action-doit": "3"},
            HTTP_X_REQUESTED_WITH="XMLHttpRequest")

        res = self.view(req)

        self.assertEqual(res.status_code, 200)
Returns field's value prepared for database lookup.
dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py/ActionsTest.test_ajax_no_redirect--crossover with--dataset/ETHPy150Open davemerwin/blue-channel/external_apps/timezones/fields.py/LocalizedDateTimeField.get_db_prep_lookup