Skip to main content

get_user_model

Return the User model that is active in this project.

def get_user_model() - > Model

Return the User model that is active in this project.

Returns

TypeDescription
ModelThe Django model class currently configured as the project's authentication user model