django-rulez

Software Screenshot:
django-rulez
Software Details:
Version: 0.2.3
Upload Date: 11 May 15
Developer: Christopher Glass
Distribution Type: Freeware
Downloads: 16

Rating: nan/5 (Total Votes: 0)

django-rulez is a fork of django-rules, since some of the goals django-rules set themselves didn't match our current project goals.You can refer to their github project page for more information about this cool project: https://github.com/maraujop/django-rules

Generally, django-rulez is a per-object authorization backend, that stores the rules themselves as methods on model.

Installation

From source

To install django-rulez from source:

git clone https://github.com/cglass/django-rulez/ django-rulez
cd django-rulez
python setup.py install


Configuration

 Add it to the list of INSTALLED_APPS in your settings.py

 Add the django-rulez authorization backend to the list of AUTHENTICATION_BACKENDS in settings.py:

 AUTHENTICATION_BACKENDS = {
 'django.contrib.auth.backends.ModelBackend', # Django's default auth backend
 'django_rules.backends.ObjectPermissionBackend',
 }

Requirements:

  • Python
  • Django

Other Software of Developer Christopher Glass

Comments to django-rulez

Comments not found
Add Comment
Turn on images!