sync from local backup
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from django.contrib.auth import get_user_model
|
||||
|
||||
User = get_user_model()
|
||||
u = User.objects.get(username='testuser')
|
||||
print(f'Username: {u.username}')
|
||||
print(f'Email: {u.email}')
|
||||
print(f'Is active: {u.is_active}')
|
||||
print(f'Password check test1234: {u.check_password("test1234")}')
|
||||
Reference in New Issue
Block a user