From b5083d178ce5e58d2c176164a5dc7386cda8eb32 Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 31 Aug 2011 18:55:45 +0530 Subject: [PATCH] uh --- gazetteer/places/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gazetteer/places/views.py b/gazetteer/places/views.py index b2f6b3a..c08cf62 100644 --- a/gazetteer/places/views.py +++ b/gazetteer/places/views.py @@ -81,6 +81,7 @@ def search_related(request): def search_related_json(request, id): # id = request.GET.get("id", "0") + id = str(id) feature = get_object_or_404_json(Feature, pk=id) similar_features = feature.similar_features() d = []