<filename>accounts/models.py<gh_stars>0
from django.contrib.auth.models import AbstractUser
from django.db import models


# Create your models here.
class User(AbstractUser):
    name = models.CharField(max_length=150)

    class Meta:
        db_table = 'auth_user'

    def __str__(self):
        return self.email

<filename>accounts/models.py<gh_stars>0
from django.contrib.auth.models import AbstractUser
from django.db import models


# Create your models here.
class User(AbstractUser):
    name = models.CharField(max_length=150)

    class Meta:
        db_table = 'auth_user'

    def __str__(self):
        return self.email

# Create your models here.