summaryrefslogtreecommitdiffstats
path: root/core/views_other.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-03-27 18:22:07 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2021-03-27 18:22:07 +0000
commitffaaea497c44f362a619d95da097def836a28b50 (patch)
tree417ccaae7e1d635408a02f8bd29962f7d8b665fe /core/views_other.py
parente7947069a2877b47c1dd7a18b686da5bbf3e160b (diff)
downloadtroggle-ffaaea497c44f362a619d95da097def836a28b50.tar.gz
troggle-ffaaea497c44f362a619d95da097def836a28b50.tar.bz2
troggle-ffaaea497c44f362a619d95da097def836a28b50.zip
re-ordering middleware and logon system
Diffstat (limited to 'core/views_other.py')
-rw-r--r--core/views_other.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/views_other.py b/core/views_other.py
index 0944d55..67726cc 100644
--- a/core/views_other.py
+++ b/core/views_other.py
@@ -34,7 +34,11 @@ def troggle404(request): # cannot get this to work. Handler404 in urls.py not ri
def showrequest(request):
return HttpResponse(request.GET)
-def frontpage(request):
+def frontpage(request):
+ '''never seen in practice'''
+ # bthe messages system does a popup on this page if there is a recent message, e.g. from the admin site actions.
+ # via django.contrib.messages.middleware.MessageMiddleware
+ # this is set in the templates.
if request.user.is_authenticated():
return render(request,'tasks.html')