ups
This commit is contained in:
parent
2a413f6d91
commit
8e44644d66
|
@ -115,6 +115,7 @@ def auth_record_json(request):
|
||||||
return render_to_json_response(d)
|
return render_to_json_response(d)
|
||||||
|
|
||||||
def time_frame_json(request):
|
def time_frame_json(request):
|
||||||
|
id = request.GET.get("id", "0")
|
||||||
time_frame = get_object_or_404_json(AuthorityRecord, pk=id)
|
time_frame = get_object_or_404_json(AuthorityRecord, pk=id)
|
||||||
features = [f.get_geojson() for f in time_frame.feature_set.all()]
|
features = [f.get_geojson() for f in time_frame.feature_set.all()]
|
||||||
d = {
|
d = {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user