阅读背景:

Django Guardian - 如何使用带有基于类的视图的permission_required装饰器?

来源:互联网 

I have a CB DeleteView that I am trying to decorate with Guardian's permission_required. The permission should be for the logged in user and for the object of the DeleteView. The Guardian docs aren't too clear about this, so I'm wondering if anyone could clarify.I have a CB DeleteView that I am trying to deco




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

分享到: