1
0
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:
Simon Charette
2017-11-29 01:06:45 -05:00
committed by Tim Graham
parent f0a68c2511
commit e50add6ca1
6 changed files with 23 additions and 11 deletions

View File

@@ -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: