From 8e44644d66399c1afec5b4e8b394e7afe595c950 Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 1 Sep 2011 03:46:50 +0530 Subject: [PATCH] ups --- gazetteer/places/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gazetteer/places/views.py b/gazetteer/places/views.py index 847c817..dcb48ee 100644 --- a/gazetteer/places/views.py +++ b/gazetteer/places/views.py @@ -115,6 +115,7 @@ def auth_record_json(request): return render_to_json_response(d) def time_frame_json(request): + id = request.GET.get("id", "0") time_frame = get_object_or_404_json(AuthorityRecord, pk=id) features = [f.get_geojson() for f in time_frame.feature_set.all()] d = {