Hi,

It seems easy as 1-2-3 but, I couldn't manage to loaddata in my
fixture back into the db.

Despite the success message at the end, no data is inserted into the
db. I am running django revision 5783 with postgres.

I tried the following for json and xml. Both end with success messages
but with no data inserted.

> python manage.py dumpdata main > main/fixtures/initial_data.json

the fixture file is created. then I clear the database and run:

> python manage.py syncdb

and get:

Loading 'initial_data' fixtures...
Installing json fixture 'initial_data' from 'D:\django\gd\main
\fixtures'.
Installed 34 object(s) from 1 fixture(s)

But despite this success message, no data is inserted into the
database.

Any ideas? I may post my app's models and the fixture file, if needed.


Thanks,
oMat


--~--~---------~--~----~------------~-------~--~----~
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