mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58.
This commit is contained in:
committed by
Tim Graham
parent
f0a68c2511
commit
e50add6ca1
@@ -29,12 +29,6 @@ class XmlSerializerTestCase(SerializersTestBase, TestCase):
|
||||
</object>
|
||||
</django-objects>""" # NOQA
|
||||
|
||||
@staticmethod
|
||||
def _comparison_value(value):
|
||||
# The XML serializer handles everything as strings, so comparisons
|
||||
# need to be performed on the stringified value
|
||||
return str(value)
|
||||
|
||||
@staticmethod
|
||||
def _validate_output(serial_str):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user