In my Model i have this
description = tinymce_models.HTMLField(help_text='A short descripton')
Now i want to render this field as normal text area not the tinymece field. I can’t edit the models file.
Is there any way i can override the same field in my form.
like this
description = forms.widgets.Textarea(attrs={'rows':4, 'cols':40})
I tried this but didn’t worked
you can specify what widget you want to use in
modelformsMetaclass. For example:Reference : Overriding the default field types or widgets