Skip to content

Commit edd7187

Browse files
add exceptions for Python versions and Django 5.1 (#131)
1 parent f043992 commit edd7187

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ def should_skip(python: str, django: str) -> bool:
4545
# Django 5.0 requires Python 3.10+
4646
return True
4747

48+
if django == DJ51 and version(python) < version(PY310):
49+
# Django 5.1 requires Python 3.10+
50+
return True
51+
4852
return False
4953

5054

0 commit comments

Comments
 (0)