Skip to content

Commit d2d04e5

Browse files
authored
Merge pull request #306 from openedx/djanngo42
[Django 4.2]: Fix Django 4.2 compatibility
2 parents 65be1ce + 694c5e5 commit d2d04e5

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Change Log
1111

1212
.. There should always be an "Unreleased" section for changes pending release.
1313
14+
[2.5.1] - 2023-09-22
15+
~~~~~~~~~~~~~~~~~~~~
16+
17+
* Fixed issues with Django 4.2
18+
1419
[2.5.0] - 2023-08-07
1520
~~~~~~~~~~~~~~~~~~~~
1621

config_models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Configuration models for Django allowing config management with auditing.
33
"""
44

5-
__version__ = '2.5.0'
5+
__version__ = '2.5.1'

config_models/urls.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
URLs for config_models.
33
"""
44

5-
6-
from django.conf.urls import url
5+
from django.urls import re_path
76
from django.views.generic import TemplateView
87

98
urlpatterns = [
10-
url(r'', TemplateView.as_view(template_name="config_models/base.html")),
9+
re_path(r'', TemplateView.as_view(template_name="config_models/base.html")),
1110
]

0 commit comments

Comments
 (0)