amanjha8100 / AMS

Attendance management system made my me, which I use for taking attendance.
https://amsit.pythonanywhere.com/
MIT License
12 stars 8 forks source link

Custom User Model Implemented #9

Closed Srishti-Ahuja closed 2 years ago

Srishti-Ahuja commented 2 years ago

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.

Screenshot (598)

7saikat7 commented 2 years ago

looks good to me ! you have tested it thoroughly right?

Srishti-Ahuja commented 2 years ago

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.

Screenshot (601)

7saikat7 commented 2 years ago

okk