cfpb / curriculum-review-tool

An interactive tool that allows a teacher to assess the merits of a financial education curriculum.
https://www.consumerfinance.gov/practitioner-resources/youth-financial-education/curriculum-review/
Creative Commons Zero v1.0 Universal
10 stars 14 forks source link

Swap JSONField to django.db.models.JSONField #422

Closed jslay-excella closed 2 years ago

jslay-excella commented 3 years ago

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

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