阅读背景:

如果不存在,Django会创建userprofile

来源:互联网 

I use request.user.get_profile() in a number of places in my code. However not all users have a user profile assosiated with their account. Is there some way I can create a user profile automatically when calling in a number of




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

分享到: