I have a form that stores a Field with a Textarea widget to a CharField, I would like for it to not clean out line breaks and other formatting information such as tabs and multiple spaces. Is there a way to go about doing this?
special_instructions = forms.CharField(
label = "Special Instructions",
widget=forms.Textarea(
attrs={
'id': 'textarea-ed95',
'class':'u-border-1 u-border-grey-30 u-input u-input-rectangle',
'placeholder':'Special Instructions'
}
)
)