阅读背景:

Django:如何在管理表单中获取当前用户

来源:互联网 

In Django's ModelAdmin I need to display forms customized according to the permissions an user has. Is there a way of getting the current user object into the form class, so that i can customize the form in its In Django's ModelAdmin I need to display forms




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

分享到: