Thanks for your help.

I changed my code to the version below but it didn't solve the problem.
I'll try the magic-removal-branch and post my result here.

Rudolph

from django.core import meta

class Language(meta.Model):
    abbreviation = meta.CharField('Two-letter abbreviation',
maxlength=2, unique=True, blank=False)
    name = meta.CharField('Name of the language in English',
maxlength=200, blank=False)
    class META:
        admin = meta.Admin()
    def __repr__(self):
        return self.name

class LanguageTranslation(meta.Model):
    language = meta.ForeignKey(Language, edit_inline=meta.TABULAR,
verbose_name='Language to translate', related_name='key_language')
    translation = meta.CharField('Translated name of the language',
maxlength=200, core=True)
    translation_language = meta.ForeignKey(Language,
verbose_name='Language of the translation',
related_name='translation_language')
    def __repr__(self):
        return self.translation

Reply via email to