well, after creating a superuser for my project and trying to login into admin/, I see the following error:
my model for users is:
class User(AbstractUser):
name = models.CharField(max_length=20,default= None)
username = models.CharField(max_length=30,unique=True)
email = models.EmailField(max_length=254, unique=True)
password = models.CharField(max_length=30)
is_active = models.BooleanField(default=False)
nothing more I think could be sending an error
in admin.py I have:
from django.contrib import admin
from .models import User
from django.contrib.auth.admin import UserAdmin
admin.site.register(User)