From 5f67af35f019e7054b9ce6de521b3fc96f5b0dc3 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 7 Oct 2023 02:26:52 +0300 Subject: Better tag locations --- core/views/statistics.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/views/statistics.py') diff --git a/core/views/statistics.py b/core/views/statistics.py index d2544e0..2927bd3 100644 --- a/core/views/statistics.py +++ b/core/views/statistics.py @@ -289,17 +289,17 @@ def eastings(request): ts = e.tag_station if ts: e.tag_ts = SurvexStation.objects.get(name=ts) - print(f"{e} {e.tag_ts} {e.tag_ts.lat()} {e.tag_ts.long()}") + #print(f"{e} {e.tag_ts} {e.tag_ts.lat()} {e.tag_ts.long()}") es = e.exact_station if es: e.tag_es = SurvexStation.objects.get(name=es) - print(f"{e} {e.tag_es} {e.tag_es.lat()} {e.tag_es.long()}") + #print(f"{e} {e.tag_es} {e.tag_es.lat()} {e.tag_es.long()}") os = e.other_station if os: e.tag_os = SurvexStation.objects.get(name=os) - print(f"{e} {e.tag_os} {e.tag_os.lat()} {e.tag_os.long()}") + #print(f"{e} {e.tag_os} {e.tag_os.lat()} {e.tag_os.long()}") except: e.tag_ss = None -- cgit v1.2.3