I would like to change an external apps form fields to use in a particular template of my application.
I would like to give attribute values for the fields as shown below.
body = forms.CharField(widget=forms.Textarea(attrs={'class':'textarea', 'rows':'', 'cols':"", 'onclick':"this.style.height='250px';"}))
title = forms.CharField(widget=forms.TextInput(attrs={'class':'text'}))
tags = forms.CharField(widget=forms.TextInput(attrs={'class':'text'}))
I know, I can assign these attributes in the external apps forms.py; but I need to assign these attributes for a specific template in order not to affect other parts of the application.