from django import forms


class Searchform(forms.Form):
    '''搜索表单'''
    s = forms.CharField(max_length=20)


class Tagform(forms.Form):
    '''tag搜索表单'''
    t = forms.CharField(max_length=20)


from django import forms


class Searchform(forms.Form):
    '''搜索表单'''
    s = forms.CharField(max_length=20)


class Tagform(forms.Form):
    '''tag搜索表单'''
    t = forms.CharField(max_length=20)


搜索表单 tag搜索表单