mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #12990 -- Removed django.contrib.postgres.forms.JSONField per deprecation timeline.
This commit is contained in:
parent
8fdb5a656a
commit
2dd6a83d2d
5 changed files with 2 additions and 54 deletions
|
@ -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
|
||||
------------
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue