summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 09:33:12 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-01-14 17:50:04 +0100
commit7cb5712edc158396c9d4fbf1ecf17794d9a128b3 (patch)
treef1f5cc4116140c094311aba6d1a35d8fb8aa26c6 /django
parent98ae3925e57c3f054814b847971194f7cd8d98d1 (diff)
downloaddjango-7cb5712edc158396c9d4fbf1ecf17794d9a128b3.tar.gz
Refs #12990 -- Removed django.contrib.postgres.fields.JSONField per deprecation timeline.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/postgres/fields/jsonb.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/django/contrib/postgres/fields/jsonb.py b/django/contrib/postgres/fields/jsonb.py
index 7f76b29a13..d2e44135ba 100644
--- a/django/contrib/postgres/fields/jsonb.py
+++ b/django/contrib/postgres/fields/jsonb.py
@@ -11,14 +11,13 @@ __all__ = ['JSONField']
class JSONField(BuiltinJSONField):
- system_check_deprecated_details = {
+ system_check_removed_details = {
'msg': (
- 'django.contrib.postgres.fields.JSONField is deprecated. Support '
- 'for it (except in historical migrations) will be removed in '
- 'Django 4.0.'
+ 'django.contrib.postgres.fields.JSONField is removed except for '
+ 'support in historical migrations.'
),
'hint': 'Use django.db.models.JSONField instead.',
- 'id': 'fields.W904',
+ 'id': 'fields.E904',
}