summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/newforms.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt
index c2ede42f5e..33aaf14357 100644
--- a/docs/newforms.txt
+++ b/docs/newforms.txt
@@ -605,7 +605,7 @@ classes::
... instrument = CharField()
>>> class BeatleForm(PersonForm, InstrumentForm):
... haircut_type = CharField()
- >>> b = Beatle(auto_id=False)
+ >>> b = BeatleForm(auto_id=False)
>>> print b.as_ul()
<li>First name: <input type="text" name="first_name" /></li>
<li>Last name: <input type="text" name="last_name" /></li>