How to have a Custom User model for my app while keeping the admins working as default in Django?
<p>Here is what I am trying to accomplish: <br/></p>

<p>  - Have admins login to the admin page using the default way (username and password).</p>

<p> - Have users register/login to my web app using a custom User Model which uses email instead of password. They can also have other data associated that I don't need for my admins.</p>

<p> - Separate the admin accounts and user accounts into different tables. </p>

<p></p>

<p>I checked how to create a Custom User class by extending AbstracBaseUser, but the result I got is that my admins also became the new user type. So can I have the Custom User model be used for my app users while keeping the default admin system untouched? Or what is a good alternative to my design?</p>

<p>After couple more hours of digging, I think it is best to keep a single User model and use permissions and roles for regulations. </p>

<p>There are ways that can make multiple different user model authentications work, such as describe in here: <a href="http://stackoverflow.com/questions/3206856/how-to-have-2-different-admin-sites-in-a-django-project][1]">How to have 2 different admin sites in a Django project?</a> But I decided it wasn't worth it for my purposes.</p>

python django