2023-03-29 14:06:11 -03:00
|
|
|
from django.db import models
|
2023-03-29 18:35:23 -03:00
|
|
|
from utils.model_abstracts import Model
|
|
|
|
from django_extensions.db.models import (
|
|
|
|
TimeStampedModel,
|
|
|
|
ActivatorModel,
|
|
|
|
TitleDescriptionModel
|
|
|
|
)
|
2023-03-29 14:06:11 -03:00
|
|
|
|
2023-03-29 18:35:23 -03:00
|
|
|
class Contact(TimeStampedModel, ActivatorModel, TitleDescriptionModel, Model):
|
|
|
|
|
|
|
|
class Meta:
|
|
|
|
verbose_name_plural = "Contacts"
|
|
|
|
|
|
|
|
email = models.EmailField(verbose_name="Email")
|
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
return f'{self.title}'
|