Skip to content

Commit 58e0a69

Browse files
authored
Update setup.py to drop Django 2.2 and update release notes (#8666)
1 parent 11bfda9 commit 58e0a69

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/community/3.14-announcement.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
## Django 4.1 support
2323

24-
The latest release now fully supports Django 4.1.
24+
The latest release now fully supports Django 4.1, and drops support for Django 2.2.
2525

2626
Our requirements are now:
2727

docs/community/release-notes.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,10 @@ You can determine your currently installed version using `pip show`:
4040

4141
Date: 22nd September 2022
4242

43+
* Django 2.2 is no longer supported. [[#8662](https://github.com/encode/django-rest-framework/pull/8662)]
44+
* Django 4.1 compatibility. [[#8591](https://github.com/encode/django-rest-framework/pull/8591)]
45+
* Add `--api-version` CLI option to `generateschema` management command. [[#8663](https://github.com/encode/django-rest-framework/pull/8663)]
4346
* Enforce `is_valid(raise_exception=False)` as a keyword-only argument. [[#7952](https://github.com/encode/django-rest-framework/pull/7952)]
44-
* Django 4.1 compatability. [[#8591](https://github.com/encode/django-rest-framework/pull/8591)]
4547
* Stop calling `set_context` on Validators. [[#8589](https://github.com/encode/django-rest-framework/pull/8589)]
4648
* Return `NotImplemented` from `ErrorDetails.__ne__`. [[#8538](https://github.com/encode/django-rest-framework/pull/8538)]
4749
* Don't evaluate `DateTimeField.default_timezone` when a custom timezone is set. [[#8531](https://github.com/encode/django-rest-framework/pull/8531)]

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,13 @@ def get_version(package):
8282
author_email='tom@tomchristie.com', # SEE NOTE BELOW (*)
8383
packages=find_packages(exclude=['tests*']),
8484
include_package_data=True,
85-
install_requires=["django>=2.2", "pytz"],
85+
install_requires=["django>=3.0", "pytz"],
8686
python_requires=">=3.6",
8787
zip_safe=False,
8888
classifiers=[
8989
'Development Status :: 5 - Production/Stable',
9090
'Environment :: Web Environment',
9191
'Framework :: Django',
92-
'Framework :: Django :: 2.2',
9392
'Framework :: Django :: 3.0',
9493
'Framework :: Django :: 3.1',
9594
'Framework :: Django :: 3.2',

0 commit comments

Comments
 (0)