from django.db import models


class Subscriber(models.Model):
    email = models.EmailField()
    name = models.CharField(max_length=128)

    def __str__(self):
        return "Пользователь %s %s" % (self.email, self.name,)

    class Meta:
        verbose_name = 'Profile'
        verbose_name_plural = 'Profiles'
from django.db import models


class Subscriber(models.Model):
    email = models.EmailField()
    name = models.CharField(max_length=128)

    def __str__(self):
        return "Пользователь %s %s" % (self.email, self.name,)

    class Meta:
        verbose_name = 'Profile'
        verbose_name_plural = 'Profiles'