models.py 307 Bytes
Newer Older
1 2
"""Models module."""

3
from django.contrib.auth.models import AbstractUser
4
from django.db import models
5 6 7 8 9

from cerberus_ac.models import RoleMixin


class User(AbstractUser, RoleMixin):
10 11
    """Simple User model derived from Django's abstract user."""

12
    email_confirmed = models.BooleanField(default=False)