2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-16 06:07:07 +00:00

sort imports using isort. tested.

This commit is contained in:
2023-01-19 18:35:56 +00:00
parent 939d3970aa
commit be9fcc522a
26 changed files with 296 additions and 245 deletions

View File

@@ -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