From 2d6c41ae9784778bdf4561ce6de3b5011428ce76 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 10 Feb 2010 19:28:45 +0530 Subject: [PATCH] s/status_text/text --- oxdjango/shortcuts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oxdjango/shortcuts.py b/oxdjango/shortcuts.py index bb13859..57a314d 100644 --- a/oxdjango/shortcuts.py +++ b/oxdjango/shortcuts.py @@ -12,7 +12,7 @@ class HttpErrorJson(Http404): self.response = response def json_response(data={}, status=200, text='ok'): - return {'status': {'code': status, 'text': status_text}, 'data': data} + return {'status': {'code': status, 'text': text}, 'data': data} def render_to_json_response(dictionary, content_type="text/json", status=200): indent=None