from django import forms
from .models import Anon


class AnonForm(forms.ModelForm):


    class Meta:
        model = Anon
        fields = ['title', 'text']
        labels = {'text': '', 'title': ''}
        widgets = {'text': forms.Textarea(attrs={'cols': 80})}

8a951204bb2cb0d45eb234f11ede409d881421e2
<mask token>

<mask token>


class AnonForm(forms.ModelForm):


    class Meta:
        model = Anon
        fields = ['title', 'text']
        labels = {'text': '', 'title': ''}
        widgets = {'text': forms.Textarea(attrs={'cols': 80})}

from django import forms
from .models import Anon


class AnonForm(forms.ModelForm):


    class Meta:
        model = Anon
        fields = ['title', 'text']
        labels = {'text': '', 'title': ''}
        widgets = {'text': forms.Textarea(attrs={'cols': 80})}
