Keep in mind that the process outlined in this post requires significant changes to the database schema. Because of this, it’s only recommended for new projects. If this is for an existing legacy project, you’ll probably have to back up the data and recreate the database. For more on this, review the following resources:

1.Substituting a custom User model guide from the official Django docs
2.Migrating to a Custom User Model in Django blog post

#django #progaming

Creating a Custom User Model in Django
1.20 GEEK