'Include any \'extra_kwargs\' that have been included for this field,
possibly removing any incompatible existing keyword arguments.'

def include_extra_kwargs(self, kwargs, extra_kwargs):

    if extra_kwargs.get(u'read_only', False):
        for attr in [u'required', u'default', u'allow_blank', u'allow_null', u'min_length', u'max_length', u'min_value', u'max_value', u'validators', u'queryset']:
            kwargs.pop(attr, None)
    if (extra_kwargs.get(u'default') and (kwargs.get(u'required') is False)):
        kwargs.pop(u'required')
    if extra_kwargs.get(u'read_only', kwargs.get(u'read_only', False)):
        extra_kwargs.pop(u'required', None)
    kwargs.update(extra_kwargs)
    return kwargs
