1. Luke Plant
  2. django-admin-tools

Commits

David Jean Louis  committed 3e58351

Use natural keys for permissions fixtures

  • Participants
  • Parent commits 3808808
  • Branches default

Comments (0)

Files changed (1)

File test_proj/test_app/fixtures/initial_data.json

View file
  • Ignore whitespace
             "last_login": "2010-04-25 17:33:01",
             "groups": [],
             "user_permissions": [
-                28,
-                29,
-                30
+                ["add_bar", "test_app", "bar"],
+                ["change_bar", "test_app", "bar"],
+                ["delete_bar", "test_app", "bar"]
             ],
             "password": "sha1$a7681$6721778bb4a3aff4c7b0b47c20c72afc1adf493d",
             "email": "",