Django Fixtures: JSON Formatting
Jan 9, 2012
bawigga
1 minute read

Came across an issue with Django Fixtures using the JSON format. Here was my fixture:

Here’s the error I was getting:

The fix was simple, wrap the object in an array.

Found the fix thanks to the following StackOverflow post: http://stackoverflow.com/a/4939147



comments powered by Disqus