Use sha512_crypt from passlib.handlers.sha2_crypt
This commit is contained in:
parent
610f8976fc
commit
a8392ef91e
3 changed files with 4 additions and 12 deletions
|
@ -7,7 +7,7 @@ from django.core.exceptions import ValidationError
|
|||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
from django.utils import timezone
|
||||
from passlib.hash import sha512_crypt
|
||||
from passlib.handlers.sha2_crypt import sha512_crypt
|
||||
|
||||
from osusers.models import (
|
||||
CANNOT_USE_PRIMARY_GROUP_AS_ADDITIONAL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue