mirror of https://github.com/django/django.git
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:
parent
a17d897751
commit
10b5f38593
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue