Installation and Set UpΒΆ

There are no special steps to set up django_prbac beyond those for any Django app.

The first step is to install the Python package via pip or easy_install:

$ pip install django-prbac

Then add django_prbac to the INSTALLED_APPS in your settings module (this will be for default projects):

# in

Set up the database by running the migrations:

$ python migrate django_prbac

If you wish, you can run the tests to check the health of your installation. This will not modify any of your data:

$ python test django_prbac --settings django_prbac.mock_settings