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 scram.users.models.User(*args, **kwargs)

Default user for SCRAM.

exception DoesNotExist
exception MultipleObjectsReturned
first_name = None
get_absolute_url()

Get url for user’s detail view.

Returns:

URL for user detail.

Return type:

str

last_name = None
name

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