diff options
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 |