Hi, I'm using the development version of Django (trunk) and I've got two simple classes. The Language class should contain the two letter language abbreviations and the full name of the language in English. The LanguageTranslation class should contain translated names of the languages:
class Language(meta.Model): abbreviation = meta.CharField('Official ISO 639 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): lang = meta.ForeignKey(Language, edit_inline=meta.TABULAR, verbose_name='Language to translate') name = meta.CharField('Translated name of the language', maxlength=200, core=True) namelang = meta.ForeignKey(Language, verbose_name='Language of the translation') def __repr__(self): return self.name When trying to add an object with the admin-interfaces I get an exception (if anyone is interested, I can post the full exception). Kind regards, Rudolph