Fixed #14764 -- specified that a set is returned by User.get_..._permissions methods. Thanks MostAwesomeDude for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Simon Meers 2010-12-04 00:50:49 +00:00
parent d68598e022
commit 174f222b39
1 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ Methods
.. method:: models.User.get_group_permissions(obj=None) .. method:: models.User.get_group_permissions(obj=None)
Returns a list of permission strings that the user has, through his/her Returns a set of permission strings that the user has, through his/her
groups. groups.
.. versionadded:: 1.2 .. versionadded:: 1.2
@ -222,7 +222,7 @@ Methods
.. method:: models.User.get_all_permissions(obj=None) .. method:: models.User.get_all_permissions(obj=None)
Returns a list of permission strings that the user has, both through Returns a set of permission strings that the user has, both through
group and user permissions. group and user permissions.
.. versionadded:: 1.2 .. versionadded:: 1.2