Skip to main content

User

Users within the Django authentication system are represented by this model.

Attributes

AttributeTypeDescription
usernamestringUnique identifier required for user authentication and login.
passwordstringHashed credential required to verify the user identity during the authentication process.

Constructor

Signature

def User(
args: tuple,
kwargs: dict
) - > null

Parameters

NameTypeDescription
argstuplePositional arguments passed to the parent constructor.
kwargsdictKeyword arguments representing model fields such as username, password, and optional attributes.

Signature

def User(
args: tuple,
kwargs: dict
) - > null

Parameters

NameTypeDescription
argstuplePositional arguments passed to the model constructor for field initialization
kwargsdictKeyword arguments representing model field values such as username, email, and password