fix: import logout in login.py

This commit is contained in:
starnakin 2023-11-03 21:33:48 +01:00
parent 16c47b47cf
commit 9d8476ebb8

View File

@ -2,7 +2,7 @@ from django.shortcuts import render
from django.views import View from django.views import View
from django.http import HttpResponse, HttpRequest, JsonResponse from django.http import HttpResponse, HttpRequest, JsonResponse
from django.contrib.auth.models import User 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.contrib.auth.decorators import login_required
from django.db.models.query import QuerySet from django.db.models.query import QuerySet