diff options
| author | Carl Meyer <carl@oddbird.net> | 2011-10-07 00:41:25 +0000 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2011-10-07 00:41:25 +0000 |
| commit | b1b1da1eac93297503c04b8394fb98e38f552f5f (patch) | |
| tree | 774b258c552e330f98ee8f437e76b6159c8500b4 /docs/ref | |
| parent | e2f9c11736db9e23004733760303f605f1cfb924 (diff) | |
Fixed #8060 - Added permissions-checking for admin inlines. Thanks p.patruno for report and Stephan Jaensch for work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index fbe4c2a741..02e539e6f2 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1391,11 +1391,17 @@ adds some of its own (the shared features are actually defined in the - :attr:`~ModelAdmin.ordering` - :meth:`~ModelAdmin.queryset` +.. versionadded:: 1.4 + +- :meth:`~ModelAdmin.has_add_permission` +- :meth:`~ModelAdmin.has_change_permission` +- :meth:`~ModelAdmin.has_delete_permission` + The ``InlineModelAdmin`` class adds: .. attribute:: InlineModelAdmin.model - The model in which the inline is using. This is required. + The model which the inline is using. This is required. .. attribute:: InlineModelAdmin.fk_name |
