Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef3af92

Browse files
kingbuzzmanacdha
authored andcommitted
Update django
1 parent d75a8ed commit ef3af92

File tree

5 files changed

+10
-21
lines changed

5 files changed

+10
-21
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,16 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
23-
django-version: ["3.2", "4.2", "5.0", "5.1"]
23+
django-version: ["4.2", "5.1", "5.2"]
2424
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2525
elastic-version: ["7.17.12"]
2626
exclude:
27-
- django-version: "3.2"
28-
python-version: "3.11"
29-
- django-version: "3.2"
30-
python-version: "3.12"
31-
- django-version: "3.2"
32-
python-version: "3.13"
3327
- django-version: "4.2"
3428
python-version: "3.13"
35-
- django-version: "5.0"
36-
python-version: "3.9"
37-
- django-version: "5.0"
38-
python-version: "3.13"
3929
- django-version: "5.1"
4030
python-version: "3.9"
31+
- django-version: "5.2"
32+
python-version: "3.9"
4133
services:
4234
elastic:
4335
image: elasticsearch:${{ matrix.elastic-version }}

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Requirements
5959
Haystack has a relatively easily-met set of requirements.
6060

6161
* Python 3.9+
62-
* Django 3-5
62+
* Django 4-5
6363

6464
Additionally, each backend has its own requirements. You should refer to
6565
https://django-haystack.readthedocs.io/en/latest/installing_search_engines.html for more

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Requirements
117117
Haystack has a relatively easily-met set of requirements.
118118

119119
* Python 3.9+
120-
* Django 3-5
120+
* Django 4-5
121121

122122
Additionally, each backend has its own requirements. You should refer to
123123
:doc:`installing_search_engines` for more details.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ classifiers = [
1717
"Development Status :: 5 - Production/Stable",
1818
"Environment :: Web Environment",
1919
"Framework :: Django",
20-
"Framework :: Django :: 3.2",
2120
"Framework :: Django :: 4.2",
22-
"Framework :: Django :: 5.0",
2321
"Framework :: Django :: 5.1",
22+
"Framework :: Django :: 5.2",
2423
"Intended Audience :: Developers",
2524
"Operating System :: OS Independent",
2625
"Programming Language :: Python",
@@ -36,7 +35,7 @@ dynamic = [
3635
"version",
3736
]
3837
dependencies = [
39-
"Django>=3.2",
38+
"Django>=4.2",
4039
"packaging",
4140
]
4241
[project.optional-dependencies]

tox.ini

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
33
docs
4-
py{39,310,311,312,313}-django{3.2,4.2,5.0,5.1}-es7.x
4+
py{39,310,311,312,313}-django{4.2,5.1,5.2}-es7.x
55

66
[gh-actions]
77
python =
@@ -13,10 +13,9 @@ python =
1313

1414
[gh-actions:env]
1515
DJANGO =
16-
3.2: django3.2
1716
4.2: django4.2
18-
5.0: django5.0
1917
5.1: django5.1
18+
5.2: django5.2
2019

2120
[testenv]
2221
commands =
@@ -30,10 +29,9 @@ deps =
3029
coverage
3130
requests
3231
setuptools; python_version >= "3.12" # Can be removed on pysolr >= v3.10
33-
django3.2: Django>=3.2,<3.3
3432
django4.2: Django>=4.2,<4.3
35-
django5.0: Django>=5.0,<5.1
3633
django5.1: Django>=5.1,<5.2
34+
django5.2: Django>=5.2,<6
3735
es1.x: elasticsearch>=1,<2
3836
es2.x: elasticsearch>=2,<3
3937
es5.x: elasticsearch>=5,<6

0 commit comments

Comments
 (0)