From 0e2f2156253e18bd174cb162152b7709850a5e55 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 12 May 2010 13:24:38 +0000 Subject: [PATCH] Fixed #13529 -- Corrected ModelAdmin example. Thanks to stephane@actinetwork.com for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13242 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 7f972b224f..44576172cf 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -880,7 +880,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)