Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #13529 -- Corrected ModelAdmin example. Thanks to stephane@acti…

…network.com for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 0e2f2156253e18bd174cb162152b7709850a5e55 1 parent d0d3e67
Russell Keith-Magee authored May 12, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/ref/contrib/admin/index.txt
2  docs/ref/contrib/admin/index.txt
@@ -880,7 +880,7 @@ to show objects owned by the logged-in user::
880 880
 
881 881
     class MyModelAdmin(admin.ModelAdmin):
882 882
         def queryset(self, request):
883  
-            qs = super(self, MyModelAdmin).queryset(request)
  883
+            qs = super(MyModelAdmin, self).queryset(request)
884 884
             if request.user.is_superuser:
885 885
                 return qs
886 886
             return qs.filter(author=request.user)

0 notes on commit 0e2f215

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