

If you want to allow inactive users to login.

This doesn’t necessarily control whether or not the user can log in.Īuthentication backends aren’t required to check for the is_active We recommend that you set this flag to False instead ofĭeleting accounts that way, if your applications have any foreign keys Designates whether this user account should be consideredĪctive. Designates whether this user can access the admin site. Many-to-many relationship to Permission is_staff ¶īoolean. Many-to-many relationship to Group user_permissions ¶

Store the raw password.) Raw passwords can be arbitrarily long and canĬontain any character. A hash of, and metadata about, the password. The max_length increased from 30 to 150 characters.
