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

class CustomUser(AbstractUser):
	# username=models.CharField(max_length=50, default='User', unique=True)
	license=models.CharField(default='xxx-xxx-xxx',max_length=50)
	picture = models.ImageField(upload_to="profile", default="profile/users.png")
	is_active=models.BooleanField(default=True)
	address = models.CharField(max_length=150, default="lagos")
	phone = models.CharField(max_length=150, default="08000012345")
	def __str__(self):
		return self.email


9333244da541c8c4f13ee514ba76856e432757fd
<mask token>

<mask token>


class CustomUser(AbstractUser):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def __str__(self):
        return self.email

<mask token>


class CustomUser(AbstractUser):
    license = models.CharField(default='xxx-xxx-xxx', max_length=50)
    picture = models.ImageField(upload_to='profile', default=
        'profile/users.png')
    is_active = models.BooleanField(default=True)
    address = models.CharField(max_length=150, default='lagos')
    phone = models.CharField(max_length=150, default='08000012345')

    def __str__(self):
        return self.email

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


class CustomUser(AbstractUser):
    license = models.CharField(default='xxx-xxx-xxx', max_length=50)
    picture = models.ImageField(upload_to='profile', default=
        'profile/users.png')
    is_active = models.BooleanField(default=True)
    address = models.CharField(max_length=150, default='lagos')
    phone = models.CharField(max_length=150, default='08000012345')

    def __str__(self):
        return self.email

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

class CustomUser(AbstractUser):
	# username=models.CharField(max_length=50, default='User', unique=True)
	license=models.CharField(default='xxx-xxx-xxx',max_length=50)
	picture = models.ImageField(upload_to="profile", default="profile/users.png")
	is_active=models.BooleanField(default=True)
	address = models.CharField(max_length=150, default="lagos")
	phone = models.CharField(max_length=150, default="08000012345")
	def __str__(self):
		return self.email

