I try to dump my database in Postgres to json so that I can load it into my test system. Executing manage.py dumpdata gives me an error:
Unable to serialize database: Decimal(”349.00″) is not JSON serializable
Some googling finds ticket number 3324, a problem with the serializer. This is patched in the development tree already. Since I [...]
Django dumpdata does not work with numeric fields
June 28th, 2007 · No Comments · django
Tags: django