mirror of
https://github.com/jazzband/django-authority.git
synced 2026-03-16 22:20:28 +00:00
Updated README a bit.
This commit is contained in:
parent
372631dc3d
commit
4f90c8efdb
1 changed files with 10 additions and 3 deletions
13
README
13
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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue