From be9fcc522a0e8dd95167236b30deb936ca6a4721 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Thu, 19 Jan 2023 18:35:56 +0000 Subject: sort imports using isort. tested. --- core/views/auth.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'core/views/auth.py') 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 -- cgit v1.2.3