Commits

Jannis Leidel  committed 6d55a80

Updated README a bit.

  • Participants
  • Parent commits 89b97a1
  • Tags 0.4

Comments (0)

Files changed (1)

 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):