Views

Views for the user API.

class django_tinyuser.tinyuser_api.views.CreateTokenView(**kwargs)[source]

Create a new auth token for user.

serializer_class

alias of AuthTokenSerializer

class django_tinyuser.tinyuser_api.views.CreateUserView(**kwargs)[source]

Create a new user in the system.

serializer_class

alias of UserSerializer

class django_tinyuser.tinyuser_api.views.ManageUserView(**kwargs)[source]

Manage the authenticated user.

get_object()[source]

Retrieve and return the authenticated user.

serializer_class

alias of SafeUserSerializer