Commit 10b5f385 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

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
parent a17d8977
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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: