mirror of
https://github.com/django/django.git
synced 2025-02-21 06:46:37 +00:00
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:
parent
3aa1276bff
commit
33570454e3
@ -396,7 +396,7 @@ for a "contact" form on a website::
|
||||
self.fields = (
|
||||
formfields.EmailField(field_name="from", 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),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user