Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python manage.py dumpdata app.ModelName --format=yaml > fixtures/dev/fixture_name.yaml
- - fields: {active: true, created_at: !!timestamp '2016-11-14 10:43:40.221602', age: 54,
- updated_at: !!timestamp '2016-11-14 10:43:40.221603', user_type: 1}
- model: app.ModelName
- pk: 1
- - fields:
- created_at: 2016-11-14 10:43:40.220895
- age: 54
- user_type: 1
- updated_at: 2016-11-14 10:43:40.220900
- model: app.ModelName
- pk: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement