Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per deprecation timeline.

This commit is contained in:
Mariusz Felisiak 2021-01-14 10:04:20 +01:00
parent 8fdb5a656a
commit 2dd6a83d2d
5 changed files with 2 additions and 54 deletions

View file

@ -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
------------

View file

@ -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.