Skip to content

Commit 853d499

Browse files
author
Jann Haber
committed
fix import for Django 1.11
1 parent a812b00 commit 853d499

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)