Closed Srishti-Ahuja closed 2 years ago
looks good to me ! you have tested it thoroughly right?
looks good to me ! you have tested it thoroughly right?
I have tested it from my side. The admin panel is working. However, the existing DB tables had to be deleted to set the new user login model. So you might want to take a backup of the dbsqlite file before merging.
okk
Added User model in models.py which extends from AbstractBaseUser and PermissionsMixin and created a UserManager which extends BaseUserManager. The changes are reflected in the Admin panel as shown in the snapshot below.