We simply switched to a new server and dumpdates using this command (modernpolitcs is the name of the application):
python manage.py dumpdata modernpolitics> /dump/backup.json
worked on the old server, but now does not work on the new server (after binding to reinstall all the dependencies).
The error I get is: "Error: cannot serialize the database: get_db_prep_value () takes at least 3 arguments (2 data)"
The bug was fixed and just found a couple of "allowed" tickets for the old django development. Any ideas what might be the problem?
python 2.7.2 django 1.4
I can reset one model, for example. modernpolitics.question .. hmm
source
share