1
0
mirror of https://github.com/django/django.git synced 2025-04-14 04:22:21 +00:00

[1.11.x] Corrected REPL example in forms docs for Python 3.

Backport of c3e638112d2a96c8d678524903f37b13c6692188 from master
This commit is contained in:
Jon Dufresne 2017-05-27 16:28:37 -07:00 committed by Tim Graham
parent b9abdd92ab
commit 2c03e14586

View File

@ -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: