Example project

Example project should be bundled with archive and be available at example_project. Before you can run it, some requirements have to be met. Those are easily installed using following command at example project’s directory:

$ cd example_project
$ pip install -r requirements.txt

django-guardian from a directory above the example_project is automatically added to Python path at runtime.

And last thing before we can run example project is to create sqlite database:

$ ./manage.py migrate

Finally we can run dev server:

$ ./manage.py runserver

You should also create a user who can login to the admin site:

$ ./manage.py createsuperuser

Project is really basic and shows almost nothing but eventually it should expose some django-guardian functionality.

To try out django-grappelli integration, set the GRAPPELLI environment variable before launching runserver.