Django role based views?

后端 未结 9 1991
既然无缘
既然无缘 2020-12-04 06:43

I\'m looking for some input on how others would architect this. I\'m going to provide class (django group) based views.

For example, a user\'s group will determine

9条回答
  •  独厮守ぢ
    2020-12-04 07:30

    This question has been asked in Oct 2009 and the problem still exists in July 2012.

    I have searched for a good Role-Based app, and found django-permission as the best result.

    Three important features that I needed were Roles, view Decorators and Templatetag; apparently django-permissions has all of them. Read it's docs for it's usage.

    The only drawback is that it's under development.

提交回复
热议问题