[1.11.x] Corrected REPL example in forms docs for Python 3.
Backport of c3e638112d
from master
This commit is contained in:
parent
b9abdd92ab
commit
2c03e14586
|
@ -1208,8 +1208,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