阅读背景:

使用基于类的视图将对模板的一部分的访问限制到属于组的用户。Django 2.0

来源:互联网 

I want to restrict users in certain groups from accessing parts of the HTML template. I have a class based view that looks like this:I want to restrict users in certain groups from




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

分享到: