ReadOnlyPasswordHashField
This class provides a read-only form field specifically designed for displaying password hashes without allowing direct modification. It automatically configures itself to be non-required and disabled, utilizing a specialized widget to present the hash information securely within a user interface.
Attributes
| Attribute | Type | Description |
|---|---|---|
| widget | django.forms.widgets.Widget = ReadOnlyPasswordHashWidget | The form widget class used to render the read-only password hash display. |
Constructor
Signature
def ReadOnlyPasswordHashField(
*args: any,
**kwargs: any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| *args | any | Variable length argument list passed to the parent form field constructor. |
| **kwargs | any | Arbitrary keyword arguments, with 'required' defaulting to False and 'disabled' defaulting to True. |
Signature
def ReadOnlyPasswordHashField(
*args: tuple,
**kwargs: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| *args | tuple | Variable length argument list passed to the parent forms.Field constructor |
| **kwargs | dict | Arbitrary keyword arguments used to configure the field, with 'required' defaulting to False and 'disabled' defaulting to True |