mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
drop yaml fixture and replace with json
This commit is contained in:
parent
d69581e2af
commit
c0bf45d82a
18
examples/permissionsexample/fixtures/initial_data.json
Normal file
18
examples/permissionsexample/fixtures/initial_data.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{
|
||||
"pk": 2,
|
||||
"model": "auth.user",
|
||||
"fields": {
|
||||
"username": "test",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"is_active": true,
|
||||
"is_superuser": false,
|
||||
"is_staff": false,
|
||||
"groups": [],
|
||||
"user_permissions": [],
|
||||
"password": "sha1$b3dff$671b4ab97f2714446da32670d27576614e176758",
|
||||
"email": ""
|
||||
}
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue
Block a user