mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #23444 -- Deprecated django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
This commit is contained in:
parent
70428902c0
commit
2d75515a4c
4 changed files with 54 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue