Re: How to define custom labels for admin.ModelAdmin readonly fields.

2016-01-11 Thread Jonty Needham
Thanks so much. Sorted competely! On Mon, Jan 11, 2016 at 5:44 PM, Erik Cederstrand wrote: > > > Den 11. jan. 2016 kl. 23.21 skrev Jonty Needham >: > > > > I have a ModelAdmin class where I am using callables to define accessors > to a

Re: How to define custom labels for admin.ModelAdmin readonly fields.

2016-01-11 Thread Erik Cederstrand
> Den 11. jan. 2016 kl. 23.21 skrev Jonty Needham : > > I have a ModelAdmin class where I am using callables to define accessors to a > foreign key's field. > > I.e. > > class MyAdmin(admin.ModelAdmin): > > def field_name(self, obj): > return