Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2010-05-17 00:27:37 +00:00
parent a17d897751
commit 10b5f38593
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ attribute of ``Author`` to be represented by a ``<textarea>`` instead
of its default ``<input type="text">``, you can override the field's of its default ``<input type="text">``, you can override the field's
widget:: widget::
from django.forms import ModelForm, TextArea from django.forms import ModelForm, Textarea
class AuthorForm(ModelForm): class AuthorForm(ModelForm):
class Meta: class Meta: