mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.11.x] Corrected REPL example in forms docs for Python 3.
Backport of c3e638112d from master
			
			
This commit is contained in:
		| @@ -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: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user