mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 08:47:28 +00:00
remove unused page
This commit is contained in:
@@ -341,19 +341,6 @@ def cavepage(request, karea, subpath):
|
||||
# anything else is a new problem. Add in specific error messages here as we discover new types of error
|
||||
raise
|
||||
|
||||
|
||||
def caveEntrance(request, slug):
|
||||
try:
|
||||
cave = Cave.objects.get(caveslug__slug=slug)
|
||||
except:
|
||||
return render(request, "errors/badslug.html", {"badslug": f"{slug} - from caveEntrance()"})
|
||||
|
||||
if cave.non_public and settings.PUBLIC_SITE and not request.user.is_authenticated:
|
||||
return render(request, "nonpublic.html", {"instance": cave})
|
||||
else:
|
||||
return render(request, "cave_entrances.html", {"cave": cave})
|
||||
|
||||
|
||||
@login_required_if_public
|
||||
def edit_cave(request, path="", slug=None):
|
||||
"""This is the form that edits all the cave data and writes out an XML file in the :expoweb: repo folder
|
||||
|
||||
Reference in New Issue
Block a user