django-object-permission

  276 downloads
0.5.2 BSD License    
  not rated
Django's object permission library

description

download

specifications

django-object-permission is a Django app to supply Django's object permission feature.

Install:

        sudo pip install django-object-permission

or

        git clone git://github.com/alisue/django-object-permission.git
        sudo pip install django-object-permission/


or download repository and copy it to somewhere in PYTHON_PATH

How to Use:

1. Append `object_permission` to `INSTALLED_APPS`
2. run `manage.py syncdb`
3. Add `modify_object_permission(mediator, created)` and `modify_object_permission_m2m(mediator, sender, model, pk_set, removed)` to the target model at `models.py`
4. Use `object_permission.decorators.permission_required(parm, queryset)` to filtering view or whatever
READ MORE   
Last updated on February 29th, 2012

0 User reviews so far.

SUBMIT