I'm new for Django.
In my project I need to have two different user type:
- User_type_1: with some custom fields;
- User_type_2: with some custom fields (different from User_type_1);
User_type_1 and User_type_2 have some common fields (username, password, ...) I would like to maintain the Django Standard user like Type_1 and Type_2 father type. I would like to get something like this:
Django Standard User (name, username, password...)
|
|_ User_type_1 (type_1 custom field 1,....custom field N)
|_ User_type_2 (type_2 custom field 1,....custom field N)
So, in User_type_1 I would to found also name, username, password which were inherited from father.
In the next step I would like to use to authentication using python_social_auth for ONLY by Facebook for only User_type_1. User_type_2 may continue to login by username / password (using Django classic method for User).
Is possible to know the best practice to do this?
Is possible to find some examples / tutorials for my case (different user types)