Skip to content

Commit

Permalink
Add JSONField as a supported field
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobwegner committed Jun 27, 2024
1 parent a905f03 commit d86afe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modeltrans/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
get_translated_field_label,
)

SUPPORTED_FIELDS = (fields.CharField, fields.TextField)
SUPPORTED_FIELDS = (fields.CharField, fields.TextField, JSONField)

DEFAULT_LANGUAGE = get_default_language()

Expand Down

0 comments on commit d86afe1

Please sign in to comment.