From 06ba4b9eee7f60feda6dbbe753604d5bb029f06a Mon Sep 17 00:00:00 2001 From: africa itcase Date: Tue, 22 Jul 2014 11:47:57 +0600 Subject: [PATCH] Fixed typo in docs/ref/contrib/admin/index.txt. --- 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 295ff12aa4c..3ef058aa0fc 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/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()