19 lines
424 B
Python
19 lines
424 B
Python
from django import forms
|
|
|
|
|
|
class TestForm(forms.Form):
|
|
field1 = forms.CharField()
|
|
field1_ = forms.CharField()
|
|
bool1 = forms.BooleanField(required=False)
|
|
date1 = forms.DateField(required=False)
|
|
|
|
|
|
class HashTestForm(forms.Form):
|
|
name = forms.CharField()
|
|
bio = forms.CharField()
|
|
|
|
|
|
class HashTestBlankForm(forms.Form):
|
|
name = forms.CharField(required=False)
|
|
bio = forms.CharField(required=False)
|