'Returns a Resource Field instance for the given Django model field.'

@classmethod
def field_from_django_field(self, field_name, django_field, readonly):

    FieldWidget = self.widget_from_django_field(django_field)
    widget_kwargs = self.widget_kwargs_for_field(field_name)
    field = Field(attribute=field_name, column_name=field_name, widget=FieldWidget(**widget_kwargs), readonly=readonly, default=django_field.default)
    return field
