If you want to use django to develop a resume recruitment system, ask that corporate member and individual member. Is it better to use one User model or to design two?

want to use django to develop a resume recruitment system, ask which corporate member and individual member. Is it better to use one User model or to design two?

I have now created a new users app,
class User (AbstractUser):

xxx



then the next step. Both corporate and individual members use this one to design?
still have to go and set up another users app?

do you have any good ideas?
develop two different types of membership systems for the first time. Not really.

Mar.06,2021

I think if two kinds of members intersect, if there are more members, do it in one app, and then the classes of the two models inherit the same base class. If there is not much overlap, it is OK to separate, and it is also convenient for cooperative development.


individuals don't like to use their User. I will create a new class, then classify the two into the new class and distinguish them with type.


I made a recruitment website a long time ago, in which corporate members and individual members are separate. But I remember that the street network was put together, and they did an enterprise email authentication

.

it's up to you. If you want to keep it simple, separate it

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea0114-1aa9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea0114-1aa9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?