sshwsfc/django-xadmin — pull request #169 by fsx999 (2014-04-29 10:23:08+00:00)
Title: Use methode(self, obj) in InlineModelAdmin for use in readonly_fields.

Hi.
This this support for method for readonly_fields in InlineModelAdmin.
Exemple :

class WishInline(object):

def email(self, obj):
return obj.individu.personal_email
readonly_fields = ['email']

see https://docs.djangoproject.com/en/1.6/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields

"""
A read-only field can not only display data from a model’s field, it can also display the output of a model’s method or a method of the ModelAdmin class itself.
"""

Thx for your great application