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()
  • First name:
  • Last name: