from django import forms


class YesNoIgnoredField(forms.NullBooleanField):
    widget = forms.widgets.RadioSelect(
        choices=(
            (True, "Sim"), (False, "Não"), (None, "Ignorado"),
        ),
    )

from django import forms


class YesNoIgnoredField(forms.NullBooleanField):
    widget = forms.widgets.RadioSelect(
        attrs={'class': 'inline'},
        choices=(
            (True, "Sim"), (False, "Não"), (None, "Ignorado"),
        ),
    )

Add inline class to YesNoIgnored field