UZIVATEL managers

Definice manažerů.

Třídy

class CustomUserManager

Custom user model manager where email is the unique identifiers for authentication instead of usernames. https://testdriven.io/blog/django-custom-user-model/

Metody:

create_user()

Create and save a User with the given email and password.

create_superuser()

Create and save a SuperUser with the given email and password.