I have the following code to create a custom User:
from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin,UserManager
class User(AbstractBaseUser,PermissionsMixin):
username = models.CharField('Nome de Usuário',max_len...
asked by
28.03.2017 / 14:11