diff options
| author | Tim Graham <timograham@gmail.com> | 2015-01-18 16:06:56 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-01-18 16:07:48 -0500 |
| commit | af523573fc523cf5afba24b178f4b6bded6f1def (patch) | |
| tree | b97d0e35a7cd20ef950f4492abe83225c079932f | |
| parent | e8191caca5fcfb819d19620d7feaac328417a3c3 (diff) | |
[1.7.x] Clarified deprecation of forms.forms.get_declared_fields(); refs #19617.
Backport of 89e9f81601f7a343690e1153e70fd56091246d0b from master
| -rw-r--r-- | docs/internals/deprecation.txt | 2 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 946a92d336..0472cbc398 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -78,7 +78,7 @@ details on these changes. * The ``use_natural_keys`` argument for ``serializers.serialize()`` will be removed. Use ``use_natural_foreign_keys`` instead. -* ``django.forms.get_declared_fields`` will be removed. +* Private API ``django.forms.forms.get_declared_fields()`` will be removed. * The ability to use a ``SplitDateTimeWidget`` with ``DateTimeField`` will be removed. diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 897fc94b8e..dba59976d2 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -1772,6 +1772,12 @@ available without importing ``django.contrib.sites.models`` when ``django.contrib.sites.shortcuts``. The old import locations will work until Django 1.9. +``django.forms.forms.get_declared_fields()`` +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Django no longer uses this functional internally. Even though it's a private +API, it'll go through the normal deprecation cycle. + .. removed-features-1.7: Features removed in 1.7 |
