User
Users within the Django authentication system are represented by this model.
Attributes
| Attribute | Type | Description |
|---|---|---|
| username | string | Unique identifier required for user authentication and login. |
| password | string | Hashed credential required to verify the user identity during the authentication process. |
Constructor
Signature
def User(
args: tuple,
kwargs: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| args | tuple | Positional arguments passed to the parent constructor. |
| kwargs | dict | Keyword arguments representing model fields such as username, password, and optional attributes. |
Signature
def User(
args: tuple,
kwargs: dict
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| args | tuple | Positional arguments passed to the model constructor for field initialization |
| kwargs | dict | Keyword arguments representing model field values such as username, email, and password |