diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-03-27 18:22:07 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-03-27 18:22:07 +0000 |
commit | ffaaea497c44f362a619d95da097def836a28b50 (patch) | |
tree | 417ccaae7e1d635408a02f8bd29962f7d8b665fe /core/views_other.py | |
parent | e7947069a2877b47c1dd7a18b686da5bbf3e160b (diff) | |
download | troggle-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.py | 6 |
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') |