I'm using google-app-engine-django, Django 1.2, dev_appengine 1.4.2.
Data I was add to the datastore via manage.py shell
When I try
python manage.py dumpdata myapp > fixture.json
I get a file with empty square brackets.
I created file manually
[
{
"model":"myapp.news",
"pk":25,
"fields":{
"title":"Title News Check One",
"body":"Body News Check One"
}
}
]
After python manage.py loaddata myapp/fixtures/fixture.json
I've got DeserializationError: Invalid model identifier:
'myapp.news'
Next my attempt is fixtures = ['djengine.json'] in a TestCase
instance. And data didn't load again.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.