2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-20 09:52:30 +00:00

[svn] only logged in users should see the tasks page thing

This commit is contained in:
substantialnoninfringinguser 2009-07-15 01:55:26 +01:00
parent b9a1b83273
commit e0613a3888

View File

@ -23,7 +23,7 @@ def stats(request):
return render_with_context(request,'statistics.html', statsDict) return render_with_context(request,'statistics.html', statsDict)
def frontpage(request): def frontpage(request):
if request.user.is_authenticated: if request.user.is_authenticated():
return render_with_context(request,'tasks.html') return render_with_context(request,'tasks.html')
expeditions = Expedition.objects.order_by("-year") expeditions = Expedition.objects.order_by("-year")