From 7b27fec0c111e1cbb65ff22b0647dd03f0aa20bb Mon Sep 17 00:00:00 2001 From: Ronny Vedrilla Date: Mon, 19 Aug 2024 11:53:14 +0200 Subject: [PATCH] Added support for `Django` version `5.1` --- .github/workflows/workflow.yaml | 8 ++++++++ CHANGELOG.md | 2 ++ setup.py | 1 + 3 files changed, 11 insertions(+) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index e14bf67..ffa9207 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -40,6 +40,7 @@ jobs: django: - "4.2" - "5.0" + - "5.1" database: - sqlite - mysql @@ -49,6 +50,10 @@ jobs: django: "5.0" - python-version: "3.9" django: "5.0" + - python-version: "3.8" + django: "5.1" + - python-version: "3.9" + django: "5.1" services: # postgres service @@ -97,6 +102,9 @@ jobs: - name: Install Django 5.0 if: matrix.django == 5.0 run: pip install "Django>=5.0,<5.1" + - name: Install Django 5.1 + if: matrix.django == 5.1 + run: pip install "Django>=5.1,<5.2" - name: Install MySQL libs if: matrix.database == 'mysql' run: pip install mysqlclient>=2.2.4 django-mysql>=4.14.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 05446fa..b8ce4cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [2.0.0] - 2024-06-27 diff --git a/setup.py b/setup.py index 837be52..ab0673d 100755 --- a/setup.py +++ b/setup.py @@ -72,6 +72,7 @@ def get_version(*file_paths): 'Framework :: Django', 'Framework :: Django :: 4.2', 'Framework :: Django :: 5.0', + 'Framework :: Django :: 5.1', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English',