On Sun, 28 Feb 2010 16:12:42 +1300 Chris Cormack <[email protected]> wrote:
> Hi All > > Apologies if this has been asked before, but I cant find an answer. Is > there anyway to convert a pootle sqlite database to a mysql one. > > I have tried using manage.py dumpdata --format=xml > data.xml > > Changing localsettings.py to use mysql, and then running manage.py > loaddata data.xml yeah unfortunately that does work. we auto generate many internal objects when you create new projects or add a language. when you dump data all data including the autogenerated objects is dumped, when you load it again you get conflicts and errors because some of these autogenerated objects will be created from the dumped data and some will be created automatically when Projects are imported from the dump. yet to find a workaround :-( cheers, Alaa ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Translate-pootle mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/translate-pootle
