summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 10:04:20 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 17:50:04 +0100
commit2dd6a83d2d7c61321ac4a9b10fbf3c379cb305c3 (patch)
tree3f87cb1b10dddce3ad43689e13cc8e42a9faec51 /docs
parent8fdb5a656a35dc9beef4cf2b79a782068263c7ec (diff)
Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per deprecation timeline.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/postgres/forms.txt19
-rw-r--r--docs/releases/4.0.txt2
2 files changed, 2 insertions, 19 deletions
diff --git a/docs/ref/contrib/postgres/forms.txt b/docs/ref/contrib/postgres/forms.txt
index 715b376ac9..e5d597655f 100644
--- a/docs/ref/contrib/postgres/forms.txt
+++ b/docs/ref/contrib/postgres/forms.txt
@@ -158,25 +158,6 @@ Fields
valid for a given field. This can be done using the
:class:`~django.contrib.postgres.validators.KeysValidator`.
-``JSONField``
--------------
-
-.. class:: JSONField
-
- A field which accepts JSON encoded data for a
- :class:`~django.db.models.JSONField`. It is represented by an HTML
- ``<textarea>``.
-
- .. admonition:: User friendly forms
-
- ``JSONField`` is not particularly user friendly in most cases, however
- it is a useful way to format data from a client-side widget for
- submission to the server.
-
- .. deprecated:: 3.1
-
- Use :class:`django.forms.JSONField` instead.
-
Range Fields
------------
diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt
index ff14570063..c8b3f0332f 100644
--- a/docs/releases/4.0.txt
+++ b/docs/releases/4.0.txt
@@ -319,3 +319,5 @@ to remove usage of these features.
* ``django.contrib.postgres.fields.jsonb.KeyTransform`` and
``django.contrib.postgres.fields.jsonb.KeyTextTransform`` are removed.
+
+* ``django.contrib.postgres.forms.JSONField`` is removed.