Stores an entry to enforce password changes, related to auth.User.
Has the following fields:
DateTimeField (Automatically set when created)
The date the entry was created.
Parameters: |
|
---|
OneToOneField(‘User‘) (Required)
The user who needs to change his/her password.
Parameters: |
|
---|
get_latest_by = created
ordering = [‘-created’]
unique_together = ()
verbose_name = enforced password change
verbose_name_plural = enforced password changes
Stores a single password history entry, related to auth.User.
Has the following fields:
DateTimeField (Automatically set when created)
The date the entry was created.
Parameters: |
|
---|
CharField (Required)
The encrypted password.
Parameters: |
|
---|
ForeignKey(‘User‘) (Required)
The user this password history entry belongs to.
Parameters: |
|
---|
get_latest_by = created
ordering = [‘-created’]
unique_together = ()
verbose_name = password history entry
verbose_name_plural = password history entries