On Nov 9, 8:17 am, "David Blewett" <[EMAIL PROTECTED]> wrote: > Then you can add translations of field(s) by doing: > a = ModelNeedingTranslation(1, 'nothing') > a.translations.create(field='bar', translated_text='nada', > language=Language('Spanish')) > > You can get the text for a specific translation like this: > a.translations.filter(field='bar', language=Language('Spanish')) > > David Blewett
Here's some links about generic relations: http://feh.holsman.net/articles/2006/06/19/django-generic-relations http://www.djangoproject.com/documentation/models/generic_relations/ David Blewett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---