Adding custom fields to auth_user table in Django

后端 未结 2 2144
孤独总比滥情好
孤独总比滥情好 2021-02-14 08:41

Currently I created another class/table called MyAppUser with my custom columns (such as address and phone number) that has a foreign key to Django\'s authenticatio

2条回答
  •  故里飘歌
    2021-02-14 08:49

    Django provides built-in support for extending the user with your own properties, called User Profiles.

提交回复
热议问题