Users

Starting a new project, it’s highly recommended to set up a custom user model, even if the default User model is sufficient for you.

This model behaves identically to the default user model, but you’ll be able to customize it in the future if the need arises.

class todo.users.models.User(*args, **kwargs)

Default user for todo.

exception DoesNotExist
exception MultipleObjectsReturned
get_absolute_url()

Get url for user’s detail view.

Returns

URL for user detail.

Return type

str

name

First and last name do not cover name patterns around the globe