forked from dcramer/django-compositepks
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #17530 - Fixture loading with deferred constraints broken for P…
…ostgres for fixtures from multiple dirs/files Thanks to claudep for the review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
- Loading branch information
lukeplant
committed
Jan 14, 2012
1 parent
981c94d
commit 5354642
Showing
4 changed files
with
150 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
tests/regressiontests/fixtures_regress/fixtures_1/forward_ref_1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"pk": 1, | ||
"model": "fixtures_regress.book", | ||
"fields": { | ||
"name": "Cryptonomicon", | ||
"author": 4 | ||
} | ||
} | ||
] |
9 changes: 9 additions & 0 deletions
9
tests/regressiontests/fixtures_regress/fixtures_2/forward_ref_2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"pk": "4", | ||
"model": "fixtures_regress.person", | ||
"fields": { | ||
"name": "Neal Stephenson" | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters