Source

django-piston / tests / test_project / apps / testapp / forms.py

Full commit
1
2
3
4
5
6
7
8
9
from django import forms


class EchoForm(forms.Form):
    msg = forms.CharField(max_length=128)

class FormWithFileField(forms.Form):
    chaff = forms.CharField(max_length=50)
    le_file = forms.FileField()