From a51070e7434426467869147608c5a8ca58e21e00 Mon Sep 17 00:00:00 2001 From: Moritz Sichert Date: Thu, 24 Sep 2015 19:57:19 +0200 Subject: [PATCH] Refs #25294 -- Added BoundField import for backwards compatibility. --- django/forms/forms.py | 2 ++ 1 file changed, 2 insertions(+) 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