How do I do a fixture for the Site model? I've tried all sorts of different
model names
[
{
"model": "sites.site",
"pk": 1,
"fields": {
"domain": "example.com",
"name": "Example"
}
},
]
And I get this error:
...
File
"/Library/Python/2.5/site-packages/django/utils/simplejson/decoder.py", line
221, in JSONArray
raise ValueError(errmsg("Expecting object", s, end))
ValueError: Expecting object: line 10 column 1 (char 124)
Any ideas for the correct model name? I've tried every possibility I can
think of.
Regards,
Adam
--
Adam Nelson
http://unhub.com/varud
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---