How extending the User model with custom fields in Django?

In models.py

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

class CustomUser(AbstractUser):
    phone=models.CharField(max_length=15) #example extra field phone

In settings.py

AUTH_USER_MODEL ='users.CustomUser'