Skip to content

Commit c561251

Browse files
drop support for Django 5.0 (#189)
1 parent 2c922aa commit c561251

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/
2323
- Support for the `django.templates.backends.jinja2.Jinja2` template engine backend.
2424
- Support for Django 5.2.
2525

26+
### Removed
27+
28+
- Dropped support for Django 5.0.
29+
2630
### New Contributors
2731

2832
- HiPhish [@hiphish](https://github.com/hiphish) ([#170](https://github.com/westerveltco/django-simple-nav/pull/170))

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33
<!-- intro-start -->
44
[![PyPI](https://img.shields.io/pypi/v/django-simple-nav)](https://pypi.org/project/django-simple-nav/)
55
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-simple-nav)
6-
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.0%20%7C%205.1%20%7C%20-%2344B78B?labelColor=%23092E20)
6+
![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.1%20%7C%20-%2344B78B?labelColor=%23092E20)
77
<!-- https://shields.io/badges -->
8-
<!-- django-4.2 | 5.0 | 5.1 | 5.2-#44B78B -->
8+
<!-- django-4.2 | 5.1 | 5.2-#44B78B -->
99
<!-- labelColor=%23092E20 -->
1010

1111
`django-simple-nav` is a Python/Django application designed to simplify the integration of navigation and menu bars in your Django projects. With a straightforward API and customizable options, you can easily add and manage navigational elements in your web applications. It is designed to be simple to start with, but flexible enough to handle complex navigation structures while maintaining that same simplicity.
1212

1313
## Requirements
1414

1515
- Python 3.9, 3.10, 3.11, 3.12, 3.13
16-
- Django 4.2, 5.0, 5.1, 5.2
16+
- Django 4.2, 5.1, 5.2
1717

1818
## Installation
1919

noxfile.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@
1919
PY_LATEST = PY_VERSIONS[-1]
2020

2121
DJ42 = "4.2"
22-
DJ50 = "5.0"
2322
DJ51 = "5.1"
2423
DJ52 = "5.2"
2524
DJMAIN = "main"
2625
DJMAIN_MIN_PY = PY312
27-
DJ_VERSIONS = [DJ42, DJ50, DJ51, DJ52, DJMAIN]
26+
DJ_VERSIONS = [DJ42, DJ51, DJ52, DJMAIN]
2827
DJ_LTS = [
2928
version for version in DJ_VERSIONS if version.endswith(".2") and version != DJMAIN
3029
]
@@ -52,10 +51,6 @@ def should_skip(python: str, django: str) -> bool:
5251
# Django 5.1 requires Python 3.10+
5352
return True
5453

55-
if django == DJ50 and version(python) < version(PY310):
56-
# Django 5.0 requires Python 3.10+
57-
return True
58-
5954
return False
6055

6156

0 commit comments

Comments
 (0)