mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
class based Login and logout views
This commit is contained in:
parent
563a330db1
commit
18c8c95443
1 changed files with 2 additions and 2 deletions
|
|
@ -10,8 +10,8 @@ from django.conf import settings
|
|||
from django.contrib.auth import update_session_auth_hash
|
||||
from django.contrib.auth.forms import (PasswordChangeForm,
|
||||
AdminPasswordChangeForm)
|
||||
from django.contrib.auth.views import (logout as auth_logout,
|
||||
login as auth_login)
|
||||
from django.contrib.auth.views import (LogoutView as auth_logout,
|
||||
LoginView as auth_login)
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db import models, router
|
||||
from django.db.models.fields import FieldDoesNotExist
|
||||
|
|
|
|||
Loading…
Reference in a new issue