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:27 -0400 |
| commit | 06ba4b9eee7f60feda6dbbe753604d5bb029f06a (patch) | |
| tree | eb2047480e1cadf429f6ba6645d0d2ecf0c98a4e /docs/ref | |
| parent | a2d0831e4242b97e0378414c4379ad8d3030ed6e (diff) | |
Fixed typo in docs/ref/contrib/admin/index.txt.
Diffstat (limited to 'docs/ref')
| -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 295ff12aa4..3ef058aa0f 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() |
