fix: import logout in login.py
This commit is contained in:
parent
16c47b47cf
commit
9d8476ebb8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user