summaryrefslogtreecommitdiffstats
path: root/core/views/other.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-24 01:10:45 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-24 01:10:45 +0000
commit072a04487d43be292e3eb9eded5394f2c266d0ba (patch)
tree0d2ae3ec7fa2db6fe93b33e7d4102301c4834f1e /core/views/other.py
parent2daad646e3e8e7039758d9e3524fcfd2b52c4920 (diff)
downloadtroggle-072a04487d43be292e3eb9eded5394f2c266d0ba.tar.gz
troggle-072a04487d43be292e3eb9eded5394f2c266d0ba.tar.bz2
troggle-072a04487d43be292e3eb9eded5394f2c266d0ba.zip
stitch together the login sequence better
Diffstat (limited to 'core/views/other.py')
-rw-r--r--core/views/other.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/views/other.py b/core/views/other.py
index f1a7bdf..4019e73 100644
--- a/core/views/other.py
+++ b/core/views/other.py
@@ -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