Skip to content

Commit

Permalink
alter order of objects in text fixtures so as not to violate referent…
Browse files Browse the repository at this point in the history
…ial integrity when using a rdbms with foreign key support
  • Loading branch information
Tecuya committed Feb 3, 2012
1 parent e83df73 commit 7c1f5cd
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions guardian/fixtures/tests.json
@@ -1,4 +1,20 @@
[
{
"pk": 1,
"model": "auth.group",
"fields": {
"name": "admins",
"permissions": []
}
},
{
"pk": 2,
"model": "auth.group",
"fields": {
"name": "jackGroup",
"permissions": []
}
},
{
"pk": -1,
"model": "auth.user",
Expand Down Expand Up @@ -34,21 +50,5 @@
"email": "",
"date_joined": "2010-05-28 04:02:34"
}
},
{
"pk": 1,
"model": "auth.group",
"fields": {
"name": "admins",
"permissions": []
}
},
{
"pk": 2,
"model": "auth.group",
"fields": {
"name": "jackGroup",
"permissions": []
}
}
]

0 comments on commit 7c1f5cd

Please sign in to comment.