阅读背景:

使用MyUser在django中进行身份验证

来源:互联网 

Asking for your help, because can't find right answer by myself. I made custom registration form in django with additional fields. To save that fields in database i made custom user in my models. And it works ok(as i understand). But it seems that auth is using the old User model. I have two thoughts: 1- I need to overwrite some method in MyUser. 2- I found some information about adding AUTH_USER_MODEL variable in my settings ( but it call some errors)Asking for your help, because can't find right




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: