diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-01-19 18:35:56 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-01-19 18:35:56 +0000 |
commit | be9fcc522a0e8dd95167236b30deb936ca6a4721 (patch) | |
tree | e1f6c7a78e49b8ee28315b188148f35a02053996 /core/views/auth.py | |
parent | 939d3970aad3d1e5cf0de4e7ed09bed78e0404bb (diff) | |
download | troggle-be9fcc522a0e8dd95167236b30deb936ca6a4721.tar.gz troggle-be9fcc522a0e8dd95167236b30deb936ca6a4721.tar.bz2 troggle-be9fcc522a0e8dd95167236b30deb936ca6a4721.zip |
sort imports using isort. tested.
Diffstat (limited to 'core/views/auth.py')
-rw-r--r-- | core/views/auth.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/views/auth.py b/core/views/auth.py index a4dc9d9..86583e7 100644 --- a/core/views/auth.py +++ b/core/views/auth.py @@ -1,10 +1,11 @@ from builtins import str from django.conf import settings -from django.shortcuts import render, redirect -from django.contrib.auth import authenticate, login, logout +from django.contrib.auth import authenticate from django.contrib.auth import forms as auth_forms +from django.contrib.auth import login, logout from django.contrib.auth.decorators import login_required +from django.shortcuts import redirect, render from django.utils.http import is_safe_url """This enforces the login requirement for non-public pages using |