django-modeltranslation and inherited models

53 views
Skip to first unread message

Shmuel Tauber

unread,
Dec 25, 2013, 8:32:58 AM12/25/13
to django-mode...@googlegroups.com
Assuming you have 2 models

class A ( models.Model ):
    recipient = models.CharField( max_length = 512 )
    subject = models.CharField( max_length = 128 )

and class B

class B ( A ):
    message_html = models.TextField()


what is the right way to translate the "subject" field

I have tried all sorts of ways, and nothing seems to work.
I get error either in the web or the  update_translation_fields management command
 
I will be glad for any help
 
Reply all
Reply to author
Forward
0 new messages