Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

magic-removal: Fixed #1276 -- Fixed typo in auth.models. Thanks, Esaj

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit bacdf2ddad93ef8d807dc6680f00e6f649d7f91f 1 parent 9308377
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/auth/models.py
View
2  django/contrib/auth/models.py
@@ -146,7 +146,7 @@ def get_group_permissions(self):
AND ug.%s = %%s""" % (
backend.quote_name('package'), backend.quote_name('codename'),
backend.quote_name('auth_permission'), backend.quote_name('auth_group_permissions'),
- backend.quote_name('auth_users_groups'), backend.quote_name('id'),
+ backend.quote_name('auth_user_groups'), backend.quote_name('id'),
backend.quote_name('permission_id'), backend.quote_name('group_id'),
backend.quote_name('group_id'), backend.quote_name('user_id'))
cursor.execute(sql, [self.id])

0 comments on commit bacdf2d

Please sign in to comment.
Something went wrong with that request. Please try again.