diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-10-12 00:58:20 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-10-12 00:58:20 +0300 |
commit | d3a7a9823a025f84921561882b3049765105d7fa (patch) | |
tree | bdb946fda56bcaba13ace17a35dd8bcbc5cd8020 /core/views/statistics.py | |
parent | 3b1fd56fe4b09ffc9203c3109fcd05ff440732ef (diff) | |
download | troggle-d3a7a9823a025f84921561882b3049765105d7fa.tar.gz troggle-d3a7a9823a025f84921561882b3049765105d7fa.tar.bz2 troggle-d3a7a9823a025f84921561882b3049765105d7fa.zip |
remove exact station
Diffstat (limited to 'core/views/statistics.py')
-rw-r--r-- | core/views/statistics.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/views/statistics.py b/core/views/statistics.py index 7e29f5e..6ae1521 100644 --- a/core/views/statistics.py +++ b/core/views/statistics.py @@ -286,11 +286,7 @@ def eastings(request): if ts: e.tag_ts = SurvexStation.objects.get(name=ts) #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()}") + os = e.other_station if os: @@ -305,7 +301,7 @@ def eastings(request): entrances = Entrance.objects.all() for e in entrances: - if e.exact_station: + if e.other_station: ents.add(e) add_stations(e) # if e.easting or e.northing: |