diff options
| author | a1tus <mortas.11@gmail.com> | 2014-10-21 01:29:28 +0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-10-23 09:49:24 -0400 |
| commit | 2d75515a4c4fe726e26ebb1a2d2acbc9d047cba6 (patch) | |
| tree | fb0380ada5e989356d64f27cfe3ab84ac72686e1 /docs | |
| parent | 70428902c0c4d7660118b935241b54c17f662802 (diff) | |
Fixed #23444 -- Deprecated django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 3a7c17b388..9906119f14 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -62,6 +62,9 @@ about each item can often be found in the release notes of two versions prior. * ``django.utils.checksums`` will be removed; its functionality is included in django-localflavor 1.1+. +* The ``original_content_type_id`` attribute on + ``django.contrib.admin.helpers.InlineAdminForm`` will be removed. + .. _deprecation-removed-in-1.9: 1.9 diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 8fb6b1ec26..6fa91e5ab3 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -855,3 +855,11 @@ Luhn algorithm) was undocumented and not used in Django. The module has been moved to the `django-localflavor`_ package (version 1.1+). .. _django-localflavor: https://pypi.python.org/pypi/django-localflavor + +``django.contrib.admin.helpers.InlineAdminForm.original_content_type_id`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The ``original_content_type_id`` attribute on ``InlineAdminForm`` has been +deprecated and will be removed in Django 2.0. Historically, it was used +to construct the "view on site" URL. This URL is now accessible using the +``absolute_url`` attribute of the form. |
