django1/tests/auth_tests/models/with_last_login_attr.py

6 lines
139 B
Python

from django.contrib.auth.base_user import AbstractBaseUser
class UserWithDisabledLastLoginField(AbstractBaseUser):
last_login = None