Permalink
Browse files

Fixed typo in docs/ref/contrib/admin/index.txt.

  • Loading branch information...
africa itcase authored and timgraham committed Jul 22, 2014
1 parent a2d0831 commit 06ba4b9eee7f60feda6dbbe753604d5bb029f06a
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/contrib/admin/index.txt
@@ -1385,7 +1385,7 @@ templates used by the :class:`ModelAdmin` views:
filtering based on add, change, and delete permissions::
class MyModelAdmin(admin.ModelAdmin):
- def get_inline_instances(request, obj=None):
+ def get_inline_instances(self, request, obj=None):
return [inline(self.model, self.admin_site) for inline in self.inlines]
.. method:: ModelAdmin.get_urls()

0 comments on commit 06ba4b9

Please sign in to comment.