Hi Russell!

Sorry by the late response, I'm too busy these days. I try to load
fixtures from xml data (instead of json data), I got the same error. I
put a sample application for download on the following address:

http://portaldoescritorio.com.br/testapp.tgz

I wrote the model and the dump data sample bellow:

# file:testapp/people/models.py
from django.db import models
class Person(models.Model):
    name = models.CharField(maxlength=300)
    def __str__(self):
        return self.name
    class Admin:
        pass

#file: testapp/people_fixture.json
[{"pk": "1", "model": "people.person", "fields": {"name": "John
Doe"}}, {"pk": "2", "model": "people.person", "fields": {"name":
"Edgar Allan Poe"}}, {"pk": "3", "model": "people.person", "fields":
{"name": "Mahatma Gandhi"}}, {"pk": "5", "model": "people.person",
"fields": {"name": "Homer Simpson"}}]

Thanks for any help, best regards!

--
Michel Thadeu Sabchuk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to