Corrected REPL example in forms docs for Python 3.
This commit is contained in:
parent
21046e7773
commit
c3e638112d
|
@ -1215,8 +1215,8 @@ by setting the name of the field to ``None`` on the subclass. For example::
|
|||
>>> class ChildForm(ParentForm):
|
||||
... name = None
|
||||
|
||||
>>> ChildForm().fields.keys()
|
||||
... ['age']
|
||||
>>> list(ChildForm().fields)
|
||||
['age']
|
||||
|
||||
.. _form-prefix:
|
||||
|
||||
|
|
Loading…
Reference in New Issue