diff options
| author | africa itcase <africa@faunris-work> | 2014-07-22 11:47:57 +0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-07-22 13:27:51 -0400 |
| commit | 0e35ae37bbff7f25d17c678867127055b9874d8a (patch) | |
| tree | dad0e732d24bd0611a9937a88001175fea29fdcd | |
| parent | 2c6ef625ad73c38769f086733356e37a938b69c3 (diff) | |
[1.7.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of 06ba4b9eee from master
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index fc7e31896d..bdf6cb5432 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1399,7 +1399,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() |
