from django import forms
from .models import Things


class AddForm(forms.ModelForm):
    thing_text = forms.CharField(max_length=40, label='新事项')


    class Meta:
        model = Things
        fields = ['thing_text']

21ae8dd7987aa72bd57cd441d455afea82e55321
<mask token>

<mask token>


class AddForm(forms.ModelForm):
    <mask token>


    class Meta:
        model = Things
        fields = ['thing_text']

<mask token>


class AddForm(forms.ModelForm):
    thing_text = forms.CharField(max_length=40, label='新事项')


    class Meta:
        model = Things
        fields = ['thing_text']

from django import forms
from .models import Things


class AddForm(forms.ModelForm):
    thing_text = forms.CharField(max_length=40, label='新事项')


    class Meta:
        model = Things
        fields = ['thing_text']
