Source code for smarter.apps.dashboard.models
"""Account models."""
from django.db import models
# our stuff
from smarter.lib.django.models import TimestampedModel
[docs]
class EmailContactList(TimestampedModel):
"""Model to persist emails collected from landing page."""
email = models.EmailField(unique=True, blank=False, null=False)
class Meta:
"""Metadata for the model."""
verbose_name = "Email Contact"
verbose_name_plural = "Email Contacts"