Kaydet (Commit) 10b5f385 authored tarafından Russell Keith-Magee's avatar Russell Keith-Magee

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
üst a17d8977
...@@ -384,7 +384,7 @@ attribute of ``Author`` to be represented by a ``<textarea>`` instead ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment