mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Refs #25294 -- Added BoundField import for backwards compatibility.
This commit is contained in:
		| @@ -8,6 +8,8 @@ import copy | |||||||
| from collections import OrderedDict | from collections import OrderedDict | ||||||
|  |  | ||||||
| from django.core.exceptions import NON_FIELD_ERRORS, ValidationError | from django.core.exceptions import NON_FIELD_ERRORS, ValidationError | ||||||
|  | # BoundField is imported for backwards compatibility in Django 1.9 | ||||||
|  | from django.forms.boundfield import BoundField  # NOQA | ||||||
| from django.forms.fields import Field, FileField | from django.forms.fields import Field, FileField | ||||||
| # pretty_name is imported for backwards compatibility in Django 1.9 | # pretty_name is imported for backwards compatibility in Django 1.9 | ||||||
| from django.forms.utils import ErrorDict, ErrorList, pretty_name  # NOQA | from django.forms.utils import ErrorDict, ErrorList, pretty_name  # NOQA | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user