Answers for "django text area limit characters"

1

django text area limit characters

class BlogForm(forms.ModelForm):
    class Meta:
        model = Blog
        fields = ['blogPost']
        widgets = {
            'blogPost' : forms.Textarea(attrs={
                'rows': '5',
                'cols': '90',
                'maxlength': '200',
            }),
        }
Posted by: Guest on June-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language