From a852e6ec4b1fb32b7f867d10d66245ecc2acfd8c Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 19 Feb 2012 17:35:29 +0530 Subject: [PATCH] ups, import render_to_json_response --- chaloBEST/mumbai/apiviews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaloBEST/mumbai/apiviews.py b/chaloBEST/mumbai/apiviews.py index 25a00d8..dfdf441 100644 --- a/chaloBEST/mumbai/apiviews.py +++ b/chaloBEST/mumbai/apiviews.py @@ -1,5 +1,5 @@ from models import * -from ox.django.shortcuts import get_object_or_404_json +from ox.django.shortcuts import get_object_or_404_json, render_to_json_response def route(request, code): route = get_object_or_404_json(Route, code=code)