mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-21 23:01:52 +00:00
make tests work
This commit is contained in:
parent
bd81bd0b01
commit
ab1212dd8a
@ -9,8 +9,6 @@
|
||||
"equipment": "",
|
||||
"references": "",
|
||||
"survey": "CUCC's parts surveyed to Grade 5 but not all drawn up - see <a href=\"41/survey.htm\">here</a>",
|
||||
"kataster_status": "",
|
||||
"underground_centre_line": "In dataset",
|
||||
"notes": "The Austrian Kataster has adopted a very perverse way of numbering things. Their numbers are as follows:</p><ul> <li>115a Stellerweghöhle entrance 41a</li> <li>115b Stellerweghöhle entrance 41b</li> <li>115c Stellerweghöhle entrance 41c ( where ? )</li> <li>115d Schnellzughöhle entrance 115</li> <li>115e unnamed entrance 142</li></ul><p>", "length": "SMK system total 54000m", "depth": "from entrance; SMK system total 1032m", "extent": "SMK system total 2812m",
|
||||
"survex_file": "smk-system.svx",
|
||||
"description_file": "1623/115.htm",
|
||||
@ -29,12 +27,10 @@
|
||||
"equipment": "<p></p>",
|
||||
"references": "<p>",
|
||||
"survey": "<p></p>",
|
||||
"kataster_status": "",
|
||||
"underground_centre_line": "",
|
||||
"notes": "A 25m long (22m deep) resurgence in Altausee. At the bottom, at a depth of 72m, there are large round blocks.", "length": "", "depth": "", "extent": "",
|
||||
"survex_file": "",
|
||||
"description_file": "",
|
||||
"url": "1623/284/284.html",
|
||||
"filename": "1623-284.html",
|
||||
"areacode": "1623"}}
|
||||
]
|
||||
]
|
||||
|
@ -57,6 +57,7 @@ def expologin(request):
|
||||
return render(request, "login/index.html", {})
|
||||
else:
|
||||
# going to login page when you are already logged in
|
||||
from django.contrib.admin.templatetags import log
|
||||
return render(request, "tasks.html", {})
|
||||
|
||||
# POST
|
||||
|
@ -96,12 +96,13 @@ def frontpage(request):
|
||||
# via django.contrib.messages.middleware.MessageMiddleware
|
||||
# this is set in the templates.
|
||||
if request.user.is_authenticated:
|
||||
from django.contrib.admin.templatetags import log
|
||||
return render(request, "tasks.html")
|
||||
|
||||
expeditions = Expedition.objects.order_by("-year")
|
||||
logbookentry = LogbookEntry
|
||||
cave = Cave
|
||||
# from django.contrib.admin.templatetags import log
|
||||
from django.contrib.admin.templatetags import log
|
||||
return render(request, "frontpage.html", locals())
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user