mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 09:37:11 +00:00
stitch together the login sequence better
This commit is contained in:
@@ -104,12 +104,12 @@ def frontpage(request):
|
||||
"""never seen in common practice. Logon should redirect here when this is more useful"""
|
||||
|
||||
if request.user.is_authenticated:
|
||||
return render(request, "tasks.html")
|
||||
return render(request, "login/tasks.html")
|
||||
|
||||
expeditions = Expedition.objects.order_by("-year")
|
||||
logbookentry = LogbookEntry
|
||||
cave = Cave
|
||||
return render(request, "frontpage.html", locals())
|
||||
return render(request, "login/frontpage.html", locals())
|
||||
|
||||
|
||||
@login_required_if_public
|
||||
|
||||
Reference in New Issue
Block a user