From bacdf2ddad93ef8d807dc6680f00e6f649d7f91f Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Fri, 27 Jan 2006 15:41:26 +0000 Subject: [PATCH] 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 --- django/contrib/auth/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/auth/models.py b/django/contrib/auth/models.py index 7793b535eb..3cd6556381 100644 --- a/django/contrib/auth/models.py +++ b/django/contrib/auth/models.py @@ -146,7 +146,7 @@ class User(models.Model): 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])