Skip to content

Commit 083ccb5

Browse files
authored
Merge pull request #7 from danielvoxy/django3.2
Add support for django 3.2
2 parents 58a8401 + 0ffdd65 commit 083ccb5

File tree

6 files changed

+12
-24
lines changed

6 files changed

+12
-24
lines changed

bootstrap_select/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '0.1.2'
1+
__version__ = '0.1.3'
22

33
from .widgets import BootstrapSelect # noqa

bootstrap_select/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from django.contrib.staticfiles.templatetags.staticfiles import static
1+
from django.templatetags.static import static
22
from django import forms
33
from django.forms import Select
44
from django.utils.encoding import force_text

example/example_app/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from django.contrib import admin
22
from django import forms
3-
from django.contrib.staticfiles.templatetags.staticfiles import static
3+
from django.templatetags.static import static
44
from django.utils.html import escape
55

66
from .models import Icon

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.1.2
2+
current_version = 0.1.3
33
commit = True
44
tag = True
55

@@ -12,7 +12,7 @@ universal = 1
1212

1313
[flake8]
1414
ignore = D203
15-
exclude =
15+
exclude =
1616
bootstrap_select/migrations,
1717
example/example_app/migrations,
1818
.git,

setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,12 @@
5252
classifiers=[
5353
'Development Status :: 3 - Alpha',
5454
'Framework :: Django',
55-
'Framework :: Django :: 1.8',
56-
'Framework :: Django :: 1.9',
57-
'Framework :: Django :: 1.10',
58-
'Framework :: Django :: 1.11',
55+
'Framework :: Django :: 2.2',
56+
'Framework :: Django :: 3.2',
5957
'Intended Audience :: Developers',
6058
'License :: OSI Approved :: BSD License',
6159
'Natural Language :: English',
62-
'Programming Language :: Python :: 2',
63-
'Programming Language :: Python :: 2.7',
6460
'Programming Language :: Python :: 3',
65-
'Programming Language :: Python :: 3.4',
66-
'Programming Language :: Python :: 3.5',
61+
'Programming Language :: Python :: 3.7',
6762
],
6863
)

tox.ini

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,14 @@
11
[tox]
22
envlist =
3-
{py27,py34,py35}-django-18
4-
{py27,py34,py35}-django-19
5-
{py27,py34,py35}-django-110
6-
{py27,py34,py35}-django-111
3+
{py37}-django-{22,32}
74

85
[testenv]
96
setenv =
107
PYTHONPATH = {toxinidir}:{toxinidir}/bootstrap_select
118
commands = coverage run --source bootstrap_select runtests.py
129
deps =
13-
django-18: Django>=1.8,<1.9
14-
django-19: Django>=1.9,<1.10
15-
django-110: Django>=1.10,<1.11
16-
django-111: Django>=1.11
10+
django-22: Django>=2.2, <3
11+
django-32: Django>=3.2, <4
1712
-r{toxinidir}/requirements_test.txt
1813
basepython =
19-
py35: python3.5
20-
py34: python3.4
21-
py27: python2.7
14+
py37: python3.7

0 commit comments

Comments
 (0)