We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7623243 commit 4b06e0aCopy full SHA for 4b06e0a
tests/test_serializer_nested.py
@@ -311,6 +311,9 @@ class NonRelationalPersonModel(models.Model):
311
"""Model declaring a postgres JSONField"""
312
data = postgres_fields.JSONField()
313
314
+ class Meta:
315
+ required_db_features = {'supports_json_field'}
316
+
317
318
@pytest.mark.skipif(not postgres_fields, reason='psycopg2 is not installed')
319
class TestNestedNonRelationalFieldWrite:
0 commit comments