from django.db import models

# Create your models here.

from django.contrib.auth.models import AbstractUser, UserManager


class CustomUser(AbstractUser):
    objects = UserManager()

Define a custom user model
Define a custom user model

- from django.db import models
+ from django.contrib.auth.models import AbstractUser, UserManager
  
- # Create your models here.
  
+ class CustomUser(AbstractUser):
+     objects = UserManager()
+ 
Define a custom user model
## Code Before:
from django.db import models

# Create your models here.

## Instruction:
Define a custom user model
## Code After:
from django.contrib.auth.models import AbstractUser, UserManager


class CustomUser(AbstractUser):
    objects = UserManager()
