Fixed #448 -- Fixed bug in docs/forms.txt. Thanks, Hugo

git-svn-id: http://code.djangoproject.com/svn/django/trunk@610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2005-09-02 18:42:36 +00:00
parent 3aa1276bff
commit 33570454e3
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ for a "contact" form on a website::
self.fields = ( self.fields = (
formfields.EmailField(field_name="from", is_required=True), formfields.EmailField(field_name="from", is_required=True),
formfields.TextField(field_name="subject", length=30, maxlength=200, is_required=True), formfields.TextField(field_name="subject", length=30, maxlength=200, is_required=True),
formfields.IntegerField(field_name="urgency", choices=urgency_choices), formfields.SelectField(field_name="urgency", choices=urgency_choices),
formfields.LargeTextField(field_name="contents", is_required=True), formfields.LargeTextField(field_name="contents", is_required=True),
) )