Permalink
Browse files

Fixed #14764 -- specified that a set is returned by User.get_..._perm…

…issions methods. Thanks MostAwesomeDude for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent d68598e commit 174f222b39312f7152b0116f92bb07a15ae2160f @DrMeers DrMeers committed Dec 4, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/auth.txt
View
4 docs/topics/auth.txt
@@ -212,7 +212,7 @@ Methods
.. 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.
.. versionadded:: 1.2
@@ -222,7 +222,7 @@ Methods
.. 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.
.. versionadded:: 1.2

0 comments on commit 174f222

Please sign in to comment.