Re: Loading JSON dump fails

2007-04-13 Thread Tyson
When I ran: ./manage.py dumpdata --indent=2 databases > apps/databases/ initial_data.json The dump loaded just fine into a new DB (it also works with no indent). For some reason, I am now unable to reproduce the original error, even though I'm following exactly the same steps that I followed whe

Re: Loading JSON dump fails

2007-04-12 Thread ann
http://www.forumgogo.com More powerful than the phpbb This is a great site that is completely free, and can make some cool forums, here's an example of one, you can make your own topic, polls, and replies etc, and you can have an accout for every member. This next link is an example of a forum

Re: Loading JSON dump fails

2007-04-12 Thread Russell Keith-Magee
On 4/13/07, Tyson Tate <[EMAIL PROTECTED]> wrote: > > Any ideas here on the list? I know fixtures are a bit new, so > hopefully this is just a minor issue. Hi Tyson, I just tried this on my machine, using Postgres and SQLite, and it worked fine. I was able to round trip dumpdata/loaddata using t

Loading JSON dump fails

2007-04-12 Thread Tyson Tate
I ran a JSON dump on one of my models and got the following: -- $ python manage.py dumpdata databases [{"pk": "3", "model": "databases.subject", "fields": {"slug": "boom", "title": "Boom"}}, {"pk": "2", "model": "databases.subject", "fields": {"slug": "more-testing", "title": "More Testing"}}