diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-07 21:53:17 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-07 21:53:17 +0100 |
commit | bf7491348683ba592804ffe74ff75e0eadbcefcc (patch) | |
tree | b4779fee8b2e9aa433bc90a75914f8ea5c7b44b2 /core/views/expo.py | |
parent | e3a341eb22538f1eff76a996a109ab41415f420f (diff) | |
download | troggle-bf7491348683ba592804ffe74ff75e0eadbcefcc.tar.gz troggle-bf7491348683ba592804ffe74ff75e0eadbcefcc.tar.bz2 troggle-bf7491348683ba592804ffe74ff75e0eadbcefcc.zip |
compatible with Dj2.1.5
Diffstat (limited to 'core/views/expo.py')
-rw-r--r-- | core/views/expo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/expo.py b/core/views/expo.py index e051135..d74120f 100644 --- a/core/views/expo.py +++ b/core/views/expo.py @@ -140,7 +140,7 @@ def expopage(request, path): ''' #print(" - EXPOPAGES delivering the file: '{}':{} as MIME type: {}".format(request.path, path,getmimetype(path)),flush=True) - if path.startswith("noinfo") and settings.PUBLIC_SITE and not request.user.is_authenticated(): + if path.startswith("noinfo") and settings.PUBLIC_SITE and not request.user.is_authenticated: return HttpResponseRedirect(urljoin(reverse("auth_login"),'?next={}'.format(request.path))) if path.startswith("admin/"): |