diff options
| author | Moritz Sichert <moritz.sichert@googlemail.com> | 2015-09-24 19:57:19 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-24 14:35:17 -0400 |
| commit | 9b5f1880e9697e009d5bfda6df6c5b5f35ea02e9 (patch) | |
| tree | 7aa72ab8d444aeb1340b6d2c1cf639e1a6c56a8a /django/forms/forms.py | |
| parent | ca2c5508be47af88bda040abd9bc95e8f3087c12 (diff) | |
[1.9.x] Refs #25294 -- Added BoundField import for backwards compatibility.
Backport of a51070e7434426467869147608c5a8ca58e21e00 from master
Diffstat (limited to 'django/forms/forms.py')
| -rw-r--r-- | django/forms/forms.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py index a6cedd83be..7aceb905a7 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -8,6 +8,8 @@ import copy from collections import OrderedDict 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 # pretty_name is imported for backwards compatibility in Django 1.9 from django.forms.utils import ErrorDict, ErrorList, pretty_name # NOQA |
