Re: label for foreignkey-relations

2005-12-08 Thread Jacob Kaplan-Moss
Hey Patrick -- The "verbose_name" attribute is what you want:: class MyModel(meta.Model) country_1 = meta.ForeignKey(Country, verbose_name="Country One") country_2 = meta.ForeignKey(Country, verbose_name="Country Two") Jacob

label for foreignkey-relations

2005-12-08 Thread patrick k
is it possible to have different label-names for columns relating to the same foreign table? fragment of my film model: country_1 = meta.ForeignKey(Country) country_2 = meta.ForeignKey(Country) country_3 = meta.ForeignKey(Country) in the admin-interface, i´d like to have different labels for c