mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #22421 -- Regression in fixtures loading.
Loading fixtures were failing since the refactoring in 244e2b71f5 for
inheritance setups where the chain contains abstract models and the
root ancestor contains a M2M relation.
Thanks Stanislas Guerra for the report.
Refs #20946.
This commit is contained in:
17
tests/fixtures_regress/fixtures/feature.json
Normal file
17
tests/fixtures_regress/fixtures/feature.json
Normal file
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"fields": {
|
||||
"channels": [],
|
||||
"title": "Title of this feature article"
|
||||
},
|
||||
"model": "fixtures_regress.article",
|
||||
"pk": 1
|
||||
},
|
||||
{
|
||||
"fields": {
|
||||
"channels": []
|
||||
},
|
||||
"model": "fixtures_regress.feature",
|
||||
"pk": 1
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user