Export to GitHub

transdb - issue #9

Review and document TransDb serialization


Posted on May 13, 2008 by Swift Lion

When importing dictionaries from fixtures, data is processed, and only default language string is imported into database

Comment #1

Posted on May 14, 2008 by Swift Lion

It works, but is needed to specify:

SERIALIZATION_MODULES = { 'xml' : 'transdb.xml_serializer' }

This issue remains because documentation on that is missing (changing summary).

Comment #2

Posted on Jun 11, 2008 by Swift Lion

transdb serialization should be reviewed (and afterwards documented) because the expected behavior when serializing for ajax or for fixtures is different.

In ajax we expect the serialized string to contain the translated string, and in fixtures we expect to serialize raw data.

May be it can be avoid checking if it is executed with manage.py or by web server? Checking if a session language is set?

Status: Accepted

Labels:
Type-Task Priority-Medium