mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #34620 -- Fixed serialization crash on m2m fields without natural keys when base querysets use select_related().
Regression in 19e0587ee5.
Thanks Martin Svoboda for the report.
This commit is contained in:
@@ -27,7 +27,8 @@ class JsonlSerializerTestCase(SerializersTestBase, TestCase):
|
||||
'"headline": "Poker has no place on ESPN",'
|
||||
'"pub_date": "2006-06-16T11:00:00",'
|
||||
'"categories": [%(first_category_pk)s,%(second_category_pk)s],'
|
||||
'"meta_data": []}}\n'
|
||||
'"meta_data": [],'
|
||||
'"topics": []}}\n'
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user