Skip to content

Commit 19fe3ae

Browse files
author
Dylan Verheul
authored
Merge pull request zostera#357 from jannh/develop
fixes zostera#356 support for Django 1.11
2 parents a812b00 + 853d499 commit 19fe3ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bootstrap3/components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import unicode_literals
33

4-
from django.forms.widgets import flatatt
4+
from django.forms.utils import flatatt
55
from django.utils.safestring import mark_safe
66
from bootstrap3.utils import render_tag, add_css_class
77

bootstrap3/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
except ImportError:
1414
from urllib.parse import urlparse, parse_qs, urlunparse
1515

16-
from django.forms.widgets import flatatt
16+
from django.forms.utils import flatatt
1717
from django.template import Variable, VariableDoesNotExist
1818
from django.template.base import FilterExpression, kwarg_re, TemplateSyntaxError
1919
from django.template.loader import get_template

0 commit comments

Comments
 (0)