mirror of
https://github.com/django/django.git
synced 2024-12-30 21:16:26 +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
427 B
JSON
19 lines
427 B
JSON
[
|
|
{
|
|
"pk": "2",
|
|
"model": "fixtures_model_package.article",
|
|
"fields": {
|
|
"headline": "Poker has no place on ESPN",
|
|
"pub_date": "2006-06-16 12:00:00"
|
|
}
|
|
},
|
|
{
|
|
"pk": "3",
|
|
"model": "fixtures_model_package.article",
|
|
"fields": {
|
|
"headline": "Time to reform copyright",
|
|
"pub_date": "2006-06-16 13:00:00"
|
|
}
|
|
}
|
|
]
|