From d3510ae0c82ebf2115476c553ed8c6a3f3bc4347 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Tue, 28 Jul 2009 18:00:14 +0200 Subject: [PATCH] Updated readme a bit --- README | 59 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/README b/README index 3885cc7..442b66b 100644 --- a/README +++ b/README @@ -53,45 +53,46 @@ Changelog: ========== v0.3 (2009-07-28): +------------------ - * This version adds multiple fields to the Permission model and is - therefore a **backwards incompatible** update. +* This version adds multiple fields to the Permission model and is + therefore a **backwards incompatible** update. - This was required to add a feature that allows users to request, - withdraw, deny and approve permissions. Request and approval date - are now saved, as well as an ``approved`` property. An admin action has - been added for bulk approval. + This was required to add a feature that allows users to request, + withdraw, deny and approve permissions. Request and approval date + are now saved, as well as an ``approved`` property. An admin action has + been added for bulk approval. - To migrate your existing data you can use the SQL files included in - the source (`migrations/`_), currently available for MySQL, Postgres - and SQLite. + To migrate your existing data you can use the SQL files included in + the source (`migrations/`_), currently available for MySQL, Postgres + and SQLite. - * The templatetags have also been refactored to be easier to customize - which required a change in the template tag signature: +* The templatetags have also been refactored to be easier to customize + which required a change in the template tag signature: - Old:: + Old:: - {% permission_form flatpage %} - {% permission_form flatpage "flatpage_permission.top_secret" %} - {% permission_form OBJ PERMISSION_LABEL.CHECK_NAME %} + {% permission_form flatpage %} + {% permission_form flatpage "flatpage_permission.top_secret" %} + {% permission_form OBJ PERMISSION_LABEL.CHECK_NAME %} - New:: + New:: - {% permission_form for flatpage %} - {% permission_form for flatpage using "flatpage_permission.top_secret" %} - {% permission_form for OBJ using PERMISSION_LABEL.CHECK_NAME [with TEMPLATE] %} + {% permission_form for flatpage %} + {% permission_form for flatpage using "flatpage_permission.top_secret" %} + {% permission_form for OBJ using PERMISSION_LABEL.CHECK_NAME [with TEMPLATE] %} - New templatetags: + New templatetags: - * ``permission_request_form`` - * ``get_permission_request`` - * ``get_permission_requests`` - * ``permission_request_approve_link`` - * ``permission_request_delete_link`` - * ``request_url_for_obj`` + * ``permission_request_form`` + * ``get_permission_request`` + * ``get_permission_requests`` + * ``permission_request_approve_link`` + * ``permission_request_delete_link`` + * ``request_url_for_obj`` - * The ``add_permission`` view is now accessible with GET requests and - allows to request permissions, but also add them (only for users with - the 'authority.add_permission' Django permission). +* The ``add_permission`` view is now accessible with GET requests and + allows to request permissions, but also add them (only for users with + the 'authority.add_permission' Django permission). .. _`migrations/`: http://bitbucket.org/jezdez/django-authority/src/tip/migrations/