Fixed typo in docs/newforms.txt. Thanks, Jeff Hilyard
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
1ce1442d95
commit
c96d155589
|
@ -605,7 +605,7 @@ classes::
|
||||||
... instrument = CharField()
|
... instrument = CharField()
|
||||||
>>> class BeatleForm(PersonForm, InstrumentForm):
|
>>> class BeatleForm(PersonForm, InstrumentForm):
|
||||||
... haircut_type = CharField()
|
... haircut_type = CharField()
|
||||||
>>> b = Beatle(auto_id=False)
|
>>> b = BeatleForm(auto_id=False)
|
||||||
>>> print b.as_ul()
|
>>> print b.as_ul()
|
||||||
<li>First name: <input type="text" name="first_name" /></li>
|
<li>First name: <input type="text" name="first_name" /></li>
|
||||||
<li>Last name: <input type="text" name="last_name" /></li>
|
<li>Last name: <input type="text" name="last_name" /></li>
|
||||||
|
|
Loading…
Reference in New Issue