> the empty postgres is already prepared
-- What do you mean? What about "syncdb" or "migrate" ?
Bets regards,
Eugene
среда, 11 мая 2016 г., 22:17:08 UTC+3 пользователь anton написал:
среда, 11 мая 2016 г., 22:17:08 UTC+3 пользователь anton написал:
hi,
I have a django (1.8.13) project running
on windows 7 64 bit + python 2.7.10 (32bit).
Actually it runs with mysql (precise: mariadb)
and I tried the following:
1. commandline:> manage.py dumpdata -o dumpdata.json
2. then I switch the engine to postgres in my django settings file
(the empty postgres is already prepared)
3. commandline:> manage.py loaddata dumpdata.json
Unfortunately it runs into an error.
Before I put here all the details, first one question:
Is this way supposed to work?
Or how would you do it?
Thanks
Anton
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8367a2d1-0bbb-47b8-9c03-5865c43fbd3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment