To upgrade to the new version of the multilingual app, I switch to the django-multilingual-ng branch. That branch involved some changes in the database structure.
As recommended, I installed the app south to migrate the database. Then I ran the mlng_convert command on my apps that use multilingual.
The problem I encountered was caused by apps whose models refer to other apps via foreign keys. Evidently south and mlng_convert follows those relationships and updates those table as well.
If I ran mlng_convert on a table that was already converted, I got the database error (MySQL) "Duplicate column name 'language_code'"
No comments:
Post a Comment