The currently used JSONField (django.contrib.postgres.fields.JSONField) is deprecated. Django now has django.db.models.JSONField supporting postgres.
crtool.CurriculumReviewSession.data: (fields.W904) django.contrib.postgres.fields.JSONField is deprecated. Support for it (except in historical migrations) will be removed in Django 4.0.
HINT: Use django.db.models.JSONField instead.
Changes
crtool.CurriculumReviewSession.data changed to django.db.models.JSONField
How to test this PR
1.
Screenshots
Notes and todos
-
Checklist
[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
The currently used
JSONField
(django.contrib.postgres.fields.JSONField
) is deprecated. Django now hasdjango.db.models.JSONField
supporting postgres.Changes
django.db.models.JSONField
How to test this PR
1.
Screenshots
Notes and todos
-
Checklist
Front-end testing
Browser testing
Visually tested in the following supported browsers:
Accessibility
Other