@classmethod
def field_from_django_field(cls, field_name, django_field, readonly):
    """
        Returns a Resource Field instance for the given Django model field.
        """
    FieldWidget = cls.widget_from_django_field(django_field)
    widget_kwargs = cls.widget_kwargs_for_field(field_name)
    field = cls.DEFAULT_RESOURCE_FIELD(attribute=field_name, column_name=
        field_name, widget=FieldWidget(**widget_kwargs), readonly=readonly,
        default=django_field.default)
    return field
