AdminUserCreationForm
This class provides a specialized form for creating new users within the administrative interface. It extends the standard user creation functionality by allowing the creation of users without an initial password through the integration of a mixin that manages unusable password states. The form modifies default password field requirements to support flexible account initialization workflows.
Attributes
| Attribute | Type | Description |
|---|---|---|
| usable_password | django.forms.BooleanField | A boolean form field that determines whether the user should be created with a usable password or an unusable one. |
Constructor
Signature
def AdminUserCreationForm(
*args: any,
**kwargs: any
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| *args | any | Variable length argument list. |
| **kwargs | any | Arbitrary keyword arguments. |
Signature
def AdminUserCreationForm(
*args: tuple,
**kwargs: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| *args | tuple | Variable length argument list passed to the parent UserCreationForm constructor. |
| **kwargs | dict | Arbitrary keyword arguments passed to the parent UserCreationForm constructor, typically containing initial data or instance information. |