mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder on PostgreSQL.
Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews.
This commit is contained in:
@@ -117,11 +117,6 @@ class SimpleDatabaseOperationTests(SimpleTestCase):
|
||||
with self.assertRaisesMessage(NotImplementedError, self.may_require_msg % 'datetime_extract_sql'):
|
||||
self.ops.datetime_extract_sql(None, None, None)
|
||||
|
||||
def test_json_cast_text_sql(self):
|
||||
msg = self.may_require_msg % 'json_cast_text_sql'
|
||||
with self.assertRaisesMessage(NotImplementedError, msg):
|
||||
self.ops.json_cast_text_sql(None)
|
||||
|
||||
|
||||
class DatabaseOperationTests(TestCase):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user