Skip to content

Commit fa18ee3

Browse files
committed
Add missing mimimal django version + prepare hotfix release
Fixes: #474 Signed-off-by: Asher Foa <asher@asherfoa.com>
1 parent ea2afd7 commit fa18ee3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Changelog
22

3-
## v2.5.0 - UNRELEASED
3+
## v2.4.1 - June 25th, 2025
4+
5+
* Add Django version to install requirements.
46

57
## v2.4.0 - June 18th, 2025
68

django_prometheus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
__all__ = ["middleware", "models", "pip_prometheus"]
1212

13-
__version__ = "2.5.0.dev0"
13+
__version__ = "2.4.1"
1414

1515
# Import pip_prometheus to export the pip metrics automatically.
1616
try:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def get_version():
4545
setup_requires=["pytest-runner"],
4646
options={"bdist_wheel": {"universal": "1"}},
4747
install_requires=[
48+
"Django>=4.2,<6.0",
4849
"prometheus-client>=0.7",
4950
],
5051
classifiers=[

0 commit comments

Comments
 (0)