Remove unused imports
This commit is contained in:
parent
5903e10d87
commit
d4a02dc571
1 changed files with 1 additions and 8 deletions
|
@ -2,8 +2,7 @@
|
||||||
from django.shortcuts import render
|
from django.shortcuts import render
|
||||||
from django.views.generic import View, FormView
|
from django.views.generic import View, FormView
|
||||||
from django.contrib.auth import authenticate, login, logout
|
from django.contrib.auth import authenticate, login, logout
|
||||||
from django.contrib.auth.models import User
|
from django.http import HttpResponse
|
||||||
from django.http import HttpResponse, HttpResponseRedirect
|
|
||||||
from django.core.validators import validate_email, ValidationError
|
from django.core.validators import validate_email, ValidationError
|
||||||
from django.urls import reverse_lazy
|
from django.urls import reverse_lazy
|
||||||
from django.contrib.auth.tokens import PasswordResetTokenGenerator
|
from django.contrib.auth.tokens import PasswordResetTokenGenerator
|
||||||
|
@ -21,12 +20,6 @@ from datetime import datetime
|
||||||
from random import choice, randint
|
from random import choice, randint
|
||||||
import string
|
import string
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
# Use ldap, like django_auth_backend
|
|
||||||
import ldap
|
|
||||||
import ldap.modlist as modlist
|
|
||||||
|
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue