This commit is contained in:
Sanj 2011-09-01 03:46:50 +05:30
parent 2a413f6d91
commit 8e44644d66

View File

@ -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 = {