1. Phui Hock
  2. django-pobject


Phui Hock  committed 4938511

  • Participants
  • Parent commits 0870100
  • Branches default

Comments (0)

Files changed (1)

File Home.wiki

View file
  • Ignore whitespace
 === About ===
-An expressive and concise mini permission framework for Django views.
+An expressive and concise mini permission module for Django views.
-Django lacks an easy-to-use object level permission checking mechanism. While there are other attempts to the problem, django-pobject presents a simpler and more straight forward way to achieve similar result.
+This module consists of 2 core components: P class and permission_required decorator. It supports bitwise operators {{{ AND }}}, {{{ OR }}}, {{{ XOR }} and invert '{{{ ~ }}}' for constructing complex permission checking.
+This is inspired by Q of django.db.
 === Examples ===
 **Senario 1:**\\