From 4f90c8efdb137c46ecba8d744e6101874efca7cc Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 15 Jan 2010 22:52:53 +0100 Subject: [PATCH] Updated README a bit. --- README | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README b/README index 9396599..3ff0ede 100644 --- a/README +++ b/README @@ -52,15 +52,22 @@ html version using the setup.py:: Changelog: ========== -0.3.1 (2009-10-12): - ------------------- +0.4 (2010-01-15): +----------------- * Fixed an issue with the UserPermissionForm not being able to override the widget of the user field. * Added ability to override form class in ``add_permission`` view. +* Added easy way to assign permissions via a permission instance, e.g.:: + + from django.contrib.auth.models import User + from mysite.articles.permissions import ArticlePermission + + bob = User.objects.get(username='bob') + article_permission = ArticlePermission(bob) + article_permission.assign(content_object=article) 0.3 (2009-07-28):