A Django app that provides generic per-object-permissions for Django's auth app and helpers to create custom permission checks.
Find a file
Martin Mahner 69a443effd Merged with jezdez' repo
--HG--
files : src/authority/actions.py
files : src/authority/admin.py
files : src/authority/decorators.py
files : src/authority/permissions.py
2009-07-10 18:10:48 +02:00
docs Docs: Hide the static directory from "non-all" lists. 2009-07-09 19:26:40 +02:00
example Fixes issue #2 - Adds ability to pass non-lookup parameters in decorator to permission check. 2009-07-10 15:55:25 +02:00
src/authority Merged with jezdez' repo 2009-07-10 18:10:48 +02:00
.hgignore Docs: Renamed .rst to .txt. It's simpler to identify these text files for not so versatile users (What is .rst? My editor won't open this.) and it actually does not change anything in sphinx's behaviour. 2009-07-09 19:25:22 +02:00
AUTHORS initial checkin with buildout and some other default files 2009-06-08 11:58:38 +02:00
bootstrap.py initial checkin with buildout and some other default files 2009-06-08 11:58:38 +02:00
buildout.cfg Add an alternative Django 1.0.2 section to the buildout. Use django-debug-toolbar's released version instead of latest development version. 2009-07-03 15:34:42 +02:00
LICENSE Added setup.py and LICENSE 2009-06-08 12:06:14 +02:00
MANIFEST.in Updated setup.py and manifest template 2009-07-10 01:09:42 +02:00
README Created a skeleton for the upcoming documentation. 2009-07-09 13:31:14 +02:00
setup.cfg Created a skeleton for the upcoming documentation. 2009-07-09 13:31:14 +02:00
setup.py Updated setup.py and manifest template 2009-07-10 01:09:42 +02:00

================
django-authority
================

This is a Django app for per-object-permissions that includes a bunch of
helpers to create custom permission checks.

To get the example project running do:

- Bootstrap the buildout by running::

    python bootstrap.py

- Get the required packages by running::

    bin/buildout

- Sync the database::

    bin/django syncdb

- Run the development server and visit the admin at http://127.0.0.1:8000/admin/::

    bin/django runserver

Now create a flatage and open it to see some of the templatetags in action.
Full docs coming soon.

Please use http://bitbucket.org/jezdez/django-authority/issues/ for issues and bug reports.

Documentation
=============

The documenation is currently in development. You can create a nice looking
html version using the setup.py::

    python setup.py build_sphinx