diff --git a/src/postorius/fieldset_forms.py b/src/postorius/fieldset_forms.py index 01550b4..69e820c 100644 --- a/src/postorius/fieldset_forms.py +++ b/src/postorius/fieldset_forms.py @@ -19,7 +19,10 @@ from django.forms import Form from django.utils import safestring from django.forms.forms import BoundField -from django.forms.utils import ErrorList +try: + from django.forms.utils import ErrorList +except ImportError: + from django.forms.util import ErrorList # Django 1.6 class FieldsetError(Exception):