mirror of
https://github.com/django/django.git
synced 2024-12-28 12:06:22 +00:00
2e48cf6bd9
fixture1.json and fixture2.json exist in both "fixtures" and "fixtures_model_package". Both apps are listed in "INSTALLED_APPS". The loaddata management command loads from installed apps, thus loads both fixtures when a test runs loaddata with any of these fixtures.
19 lines
430 B
JSON
19 lines
430 B
JSON
[
|
|
{
|
|
"pk": "3",
|
|
"model": "fixtures_model_package.article",
|
|
"fields": {
|
|
"headline": "Copyright is fine the way it is",
|
|
"pub_date": "2006-06-16 14:00:00"
|
|
}
|
|
},
|
|
{
|
|
"pk": "4",
|
|
"model": "fixtures_model_package.article",
|
|
"fields": {
|
|
"headline": "Django conquers world!",
|
|
"pub_date": "2006-06-16 15:00:00"
|
|
}
|
|
}
|
|
]
|