From 9a0ee1884e6c49be15fd392c88305808fd3905b4 Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Fri, 22 Sep 2023 15:00:37 +0500 Subject: [PATCH 1/2] fix: support for django 4.2 --- config_models/urls.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config_models/urls.py b/config_models/urls.py index a2e1d31..92be8bd 100644 --- a/config_models/urls.py +++ b/config_models/urls.py @@ -2,10 +2,9 @@ URLs for config_models. """ - -from django.conf.urls import url +from django.urls import re_path from django.views.generic import TemplateView urlpatterns = [ - url(r'', TemplateView.as_view(template_name="config_models/base.html")), + re_path(r'', TemplateView.as_view(template_name="config_models/base.html")), ] From 694c5e5a0aad534eca1feb79944df85eb71bd05e Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Fri, 22 Sep 2023 15:02:22 +0500 Subject: [PATCH 2/2] chore: bump version --- CHANGELOG.rst | 5 +++++ config_models/__init__.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 266ca19..d881a61 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,11 @@ Change Log .. There should always be an "Unreleased" section for changes pending release. +[2.5.1] - 2023-09-22 +~~~~~~~~~~~~~~~~~~~~ + +* Fixed issues with Django 4.2 + [2.5.0] - 2023-08-07 ~~~~~~~~~~~~~~~~~~~~ diff --git a/config_models/__init__.py b/config_models/__init__.py index 3397ade..0bf3af8 100644 --- a/config_models/__init__.py +++ b/config_models/__init__.py @@ -2,4 +2,4 @@ Configuration models for Django allowing config management with auditing. """ -__version__ = '2.5.0' +__version__ = '2.5.1'