From 96074a205328124f0649c5731f2f48e85e9a94d1 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 7 Dec 2021 11:17:33 +0100
Subject: [PATCH] Allow Django 4.0 and bump version

---
 CHANGELOG.rst  | 8 ++++++++
 pyproject.toml | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 3a8e80d..9618bd9 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -7,6 +7,14 @@ The format is based on `Keep a Changelog <http://keepachangelog.com/>`__
 and this project adheres to `Semantic
 Versioning <http://semver.org/>`__.
 
+0.5.1
+-----
+
+Changed
+~~~~~~~
+
+-  Allow Django 4.0
+
 0.5.0
 -----
 
diff --git a/pyproject.toml b/pyproject.toml
index 8765864..2558b97 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "calendarweek"
-version = "0.5.0"
+version = "0.5.1"
 description = "Utilities for working with calendar weeks in Python and Django"
 authors = ["Dominik George <nik@naturalnet.de>", "Jonathan Weth <git@jonathanweth.de>"]
 license = "Apache-2.0"
@@ -21,7 +21,7 @@ classifiers = [
 
 [tool.poetry.dependencies]
 python = "^3.7"
-Django = {version = ">=2.2, <4.0", optional = true}
+Django = {version = ">=2.2, <5.0", optional = true}
 
 [tool.poetry.extras]
 django = ["Django"]
-- 
GitLab