阅读背景:

使用基于类的UpdateView更新Django中的用户模型。

来源:互联网 

I am trying to update the Django User model with the class based UpdateView that automatically renders with the current user but am getting an error that a pk or slug is required. The form work and renders with the proper current user context but throws the error when I try to submit the changes. Below is the view I am using:I am trying to update the Django User model wit




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

分享到: