From 9d8476ebb849f30c9d494aeb5dcdff6b79514ed5 Mon Sep 17 00:00:00 2001 From: starnakin Date: Fri, 3 Nov 2023 21:33:48 +0100 Subject: [PATCH] fix: import logout in login.py --- accounts/views/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/views/login.py b/accounts/views/login.py index 5d7ba82..7ce6a94 100644 --- a/accounts/views/login.py +++ b/accounts/views/login.py @@ -2,7 +2,7 @@ from django.shortcuts import render from django.views import View from django.http import HttpResponse, HttpRequest, JsonResponse from django.contrib.auth.models import User -from django.contrib.auth import authenticate, login +from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.db.models.query import QuerySet