mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Fixed #36156 -- Added supports_json_field check in test_db_default_output_field_resolving test.
This commit is contained in:
parent
02e7a162a0
commit
25f97e7bcf
@ -2422,6 +2422,7 @@ class SchemaTests(TransactionTestCase):
|
|||||||
with connection.schema_editor() as editor, self.assertNumQueries(0):
|
with connection.schema_editor() as editor, self.assertNumQueries(0):
|
||||||
editor.alter_field(Author, Author._meta.get_field("name"), new_field)
|
editor.alter_field(Author, Author._meta.get_field("name"), new_field)
|
||||||
|
|
||||||
|
@skipUnlessDBFeature("supports_json_field")
|
||||||
@isolate_apps("schema")
|
@isolate_apps("schema")
|
||||||
def test_db_default_output_field_resolving(self):
|
def test_db_default_output_field_resolving(self):
|
||||||
class Author(Model):
|
class Author(Model):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user