I have the following form:
from django import forms
class PostForm(forms.Form):
message = forms.CharField(widget=forms.Textarea)
and the following part in my template
<p>{{ form.message }}</p>
it renders the field as a textarea as specified. Though for the template I want to set it to 4 rows and 25 cols without actually touching the form definiton. Is that possible?
And in template:
You can customize this idea as you like.