from django.contrib.auth.models import AbstractUser
from django.db import models


class Person(AbstractUser):
    description = models.TextField(blank=True)

    def __str__(self):
        return "User(<{}>}".format(self.email)

from django.contrib.auth.models import AbstractUser
from django.db import models


class Person(AbstractUser):
    description = models.TextField(blank=True)

    def __str__(self):
        if self.email:
            return "User(<{}>)".format(self.email)
        return "User(<{}>)".format(self.username)

Fix return string from user model