summaryrefslogtreecommitdiff
path: root/tests/model_fields/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model_fields/models.py')
-rw-r--r--tests/model_fields/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py
index a594b89adb..c1e356bb53 100644
--- a/tests/model_fields/models.py
+++ b/tests/model_fields/models.py
@@ -452,6 +452,7 @@ class JSONNullDefaultModel(models.Model):
class RelatedJSONModel(models.Model):
value = models.JSONField()
json_model = models.ForeignKey(NullableJSONModel, models.CASCADE)
+ summary = models.CharField(max_length=100, null=True, blank=True)
class Meta:
required_db_features = {"supports_json_field"}