OdifYltsaeb/django-multilingual

Django-multilingual and South are not playing together.

Opened this issue · 5 comments

It appears that multilingual and South does not really team up the best way. 
After I create a new migration South tells me:
WARNING: Cannot get definition for 'master' on 'menu.menuitemtranslation'. 
Please edit the migration manually to define it, or add the 
south_field_triple method to it.

The south-people posted a solution for Django-multilingual (which suffered 
from the same issue) and you can see the patch here, 
http://code.google.com/p/django-modeltranslation/issues/detail?id=11#c0

Here is the docs for south_triple_field, 
http://south.aeracode.org/wiki/SouthFieldTriple
But that is beyond my knowledge unfortunally.

Is it possible to get multilingual to add a method similar to that? So that I 
don't have to edit my migrations manually.

Best regards
Peppe Bergqvist

Original issue reported on code.google.com by peppelo...@gmail.com on 10 Dec 2009 at 12:05

"The south-people posted a solution for Django-modeltranslation"
it should be...

Original comment by peppelo...@gmail.com on 10 Dec 2009 at 12:15

I've just now managed to get it to work, so I'll upload a patch as soon as I'm 
done 
cleaning up and stuff.

Original comment by peppelo...@gmail.com on 10 Dec 2009 at 1:39

Here is the patch. I just made a diff rom my git-repo so maybe you have to 
change the
paths.

Original comment by peppelo...@gmail.com on 14 Dec 2009 at 8:30

Attachments:

Yes, It's useful. Thanks.

Original comment by chenjj...@gmail.com on 21 Jan 2010 at 4:29

Are there any plans to commit it to the trunk?

Original comment by qri...@gmail.com on 23 Feb 2010 at 12:49