diff options
author | goatchurch <goatchurch@ubuntu.clocksoft.dom> | 2009-09-10 22:07:31 +0100 |
---|---|---|
committer | goatchurch <goatchurch@ubuntu.clocksoft.dom> | 2009-09-10 22:07:31 +0100 |
commit | ece3b79e5d5690c96630b598493009b1c924c8f7 (patch) | |
tree | c6fd7aa5fca183fb610a6b1007634ff791bba232 /core/views_survex.py | |
parent | 8050476c8a853229f1ab23edee929e5ba9515a8e (diff) | |
download | troggle-ece3b79e5d5690c96630b598493009b1c924c8f7.tar.gz troggle-ece3b79e5d5690c96630b598493009b1c924c8f7.tar.bz2 troggle-ece3b79e5d5690c96630b598493009b1c924c8f7.zip |
survey scans features added
Diffstat (limited to 'core/views_survex.py')
-rw-r--r-- | core/views_survex.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/views_survex.py b/core/views_survex.py index 698268c..b6b5aba 100644 --- a/core/views_survex.py +++ b/core/views_survex.py @@ -8,7 +8,7 @@ import datetime import difflib
from troggle.core.models import Expedition, Person, PersonExpedition, PersonTrip, LogbookEntry, Cave
-from troggle.core.models import SurvexBlock, PersonRole, SurvexFile, SurvexDirectory, SurvexTitle
+from troggle.core.models import SurvexBlock, SurvexPersonRole, SurvexFile, SurvexDirectory, SurvexTitle
from parsers.people import GetPersonExpeditionNameLookup
import troggle.settings as settings
@@ -306,8 +306,10 @@ def survexcaveslist(request): # parsing all the survex files of a single cave and showing that it's consistent and can find all the files and people
# doesn't use recursion. just writes it twice
def survexcavesingle(request, survex_cave):
+ breload = False
cave = Cave.objects.get(kataster_number=survex_cave)
- parsers.survex.ReloadSurvexCave(survex_cave)
+ if breload:
+ parsers.survex.ReloadSurvexCave(survex_cave)
return render_to_response('svxcavesingle.html', {'settings': settings, "cave":cave })
|