From 242c7f39400388856396a2b42c3512173db25f3d Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 12 May 2010 13:27:14 +0000 Subject: [PATCH] [1.1.X] Fixed #13529 -- Corrected ModelAdmin example. Thanks to stephane@actinetwork.com for the report. Backport of r13242 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13243 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/admin/index.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index ad38b2720d..b997055cd1 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -832,7 +832,7 @@ to show objects owned by the logged-in user:: class MyModelAdmin(admin.ModelAdmin): def queryset(self, request): - qs = super(self, MyModelAdmin).queryset(request) + qs = super(MyModelAdmin, self).queryset(request) if request.user.is_superuser: return qs return qs.filter(author=request.user)