Skip to content

Commit

Permalink
added django-4.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
thomst committed Feb 12, 2023
1 parent 463f651 commit e620b0e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- python-version: "3.8"
django-version: Django==3.2

- python-version: "3.9"
django-version: Django==4.0

steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Welcome to django-more-admin-filters
:target: https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9-blue
:alt: python: 3.6, 3.7, 3.8, 3.9

.. image:: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange
:target: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2-orange
:alt: django: 2.2, 3.0, 3.1, 3.2
.. image:: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2%20%7C%204.0-orange
:target: https://img.shields.io/badge/django-2.2%20%7C%203.0%20%7C%203.1%20%7C%203.2%20%7C%204.0-orange
:alt: django: 2.2, 3.0, 3.1, 3.2, 4.0


Description
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def read(filename):
packages=find_packages(exclude=["tests"]),
include_package_data=True,
install_requires=[
"Django>=2.2,<4.0",
"Django>=2.2,<4.1",
],
classifiers=[
dev_status,
Expand All @@ -51,6 +51,7 @@ def read(filename):
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
Expand Down
12 changes: 7 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@

[tox]
envlist =
{py36,py37,py38}-django22
{py36,py37,py38}-django30
{py36,py37,py38}-django31
{py37,py38,py39}-django32
{py36,py37}-django22
{py36,py37}-django30
{py37,py38}-django31
{py38,py39}-django32
{py38,py39}-django40

skip_missing_interpreters = true

Expand All @@ -17,7 +18,8 @@ deps =
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
selenium<4.3.0

commands = {envpython} tests/manage.py test testapp {posargs}
Expand Down

0 comments on commit e620b0e

Please sign in to comment.