diff options
author | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-17 00:27:37 +0000 |
---|---|---|
committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-05-17 00:27:37 +0000 |
commit | 10b5f385939d9addb2b5857ee69e80c05c304ac1 (patch) | |
tree | c74ec95f7289b8976890fd45a6ce06dddf114c13 | |
parent | a17d897751c95b022988cb1667acd11b6ba276d8 (diff) | |
download | django-10b5f385939d9addb2b5857ee69e80c05c304ac1.tar.gz |
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
-rw-r--r-- | docs/topics/forms/modelforms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 699a6ccaea..fd3edf5104 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -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 widget:: - from django.forms import ModelForm, TextArea + from django.forms import ModelForm, Textarea class AuthorForm(ModelForm): class Meta: |