From 1a8bc17f806d88b06aeabc28c11a6da199216fe2 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 2 Sep 2023 17:49:37 +0300 Subject: Fixed parsers --- core/views/auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/views/auth.py') diff --git a/core/views/auth.py b/core/views/auth.py index c4e78de..63cca2b 100644 --- a/core/views/auth.py +++ b/core/views/auth.py @@ -4,6 +4,7 @@ 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.http import HttpResponse, HttpResponseRedirect from django.shortcuts import redirect, render from django.utils.http import url_has_allowed_host_and_scheme @@ -22,7 +23,7 @@ class login_required_if_public(object): def __call__(self, *args, **kwargs): return self.f(*args, **kwargs) - + # This is copied from CUYC.cuy.website.view.auth # If we want to do the whole online-email thing, we would also need to copy across the code in these -- cgit v1.2.3