class BlogForm(forms.ModelForm):
class Meta:
model = Blog
fields = ['blogPost']
widgets = {
'blogPost' : forms.Textarea(attrs={
'rows': '5',
'cols': '90',
'maxlength': '200',
}),
}