summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-18 09:46:01 +0100
committerGitHub <noreply@github.com>2023-01-18 09:46:01 +0100
commit3bbe22dafcc69c5ffa79707f5a74eb1faf466e12 (patch)
tree4bec6a7016732be33f2e1cddd80c18478cb2dee9 /docs
parentd54717118360e8679aa2bd0c5a1625f3e84712ba (diff)
Fixed #34233 -- Dropped support for Python 3.8 and 3.9.
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/windows.txt4
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt10
-rw-r--r--docs/intro/reusable-apps.txt6
-rw-r--r--docs/intro/tutorial01.txt2
-rw-r--r--docs/releases/5.0.txt2
-rw-r--r--docs/topics/i18n/timezones.txt3
6 files changed, 14 insertions, 13 deletions
diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt
index 5bd5b3594a..fecb2fd790 100644
--- a/docs/howto/windows.txt
+++ b/docs/howto/windows.txt
@@ -4,7 +4,7 @@ How to install Django on Windows
.. highlight:: doscon
-This document will guide you through installing Python 3.8 and Django on
+This document will guide you through installing Python 3.11 and Django on
Windows. It also provides instructions for setting up a virtual environment,
which makes it easier to work on Python projects. This is meant as a beginner's
guide for users working on Django projects and does not reflect how Django
@@ -20,7 +20,7 @@ Install Python
==============
Django is a Python web framework, thus requiring Python to be installed on your
-machine. At the time of writing, Python 3.8 is the latest version.
+machine. At the time of writing, Python 3.11 is the latest version.
To install Python on your machine go to https://www.python.org/downloads/. The
website should offer you a download button for the latest Python version.
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index ba7209991c..eb0506e5ee 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -91,14 +91,14 @@ In addition to the default environments, ``tox`` supports running unit tests
for other versions of Python and other database backends. Since Django's test
suite doesn't bundle a settings file for database backends other than SQLite,
however, you must :ref:`create and provide your own test settings
-<running-unit-tests-settings>`. For example, to run the tests on Python 3.9
+<running-unit-tests-settings>`. For example, to run the tests on Python 3.10
using PostgreSQL:
.. console::
- $ tox -e py39-postgres -- --settings=my_postgres_settings
+ $ tox -e py310-postgres -- --settings=my_postgres_settings
-This command sets up a Python 3.9 virtual environment, installs Django's
+This command sets up a Python 3.10 virtual environment, installs Django's
test suite dependencies (including those for PostgreSQL), and calls
``runtests.py`` with the supplied arguments (in this case,
``--settings=my_postgres_settings``).
@@ -113,14 +113,14 @@ above:
.. code-block:: console
- $ DJANGO_SETTINGS_MODULE=my_postgres_settings tox -e py39-postgres
+ $ DJANGO_SETTINGS_MODULE=my_postgres_settings tox -e py310-postgres
Windows users should use:
.. code-block:: doscon
...\> set DJANGO_SETTINGS_MODULE=my_postgres_settings
- ...\> tox -e py39-postgres
+ ...\> tox -e py310-postgres
Running the JavaScript tests
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt
index f0fa4b1306..ed05f88a75 100644
--- a/docs/intro/reusable-apps.txt
+++ b/docs/intro/reusable-apps.txt
@@ -220,15 +220,15 @@ this. For a small app like polls, this process isn't too difficult.
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Dynamic Content
[options]
include_package_data = true
packages = find:
- python_requires = >=3.8
+ python_requires = >=3.10
install_requires =
Django >= X.Y # Replace "X.Y" as appropriate
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index a308339fa9..4f9dc67da5 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -23,7 +23,7 @@ in a shell prompt (indicated by the $ prefix):
If Django is installed, you should see the version of your installation. If it
isn't, you'll get an error telling "No module named django".
-This tutorial is written for Django |version|, which supports Python 3.8 and
+This tutorial is written for Django |version|, which supports Python 3.10 and
later. If the Django version doesn't match, you can refer to the tutorial for
your version of Django by using the version switcher at the bottom right corner
of this page, or update Django to the newest version. If you're using an older
diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt
index cd54b03cf7..78148c79e8 100644
--- a/docs/releases/5.0.txt
+++ b/docs/releases/5.0.txt
@@ -21,6 +21,8 @@ Python compatibility
Django 5.0 supports Python 3.10, 3.11, and 3.12. We **highly recommend** and
only officially support the latest release of each series.
+The Django 4.2.x series is the last to support Python 3.8 and 3.9.
+
Third-party library support for older version of Django
=======================================================
diff --git a/docs/topics/i18n/timezones.txt b/docs/topics/i18n/timezones.txt
index 10170fcdea..19415a13b6 100644
--- a/docs/topics/i18n/timezones.txt
+++ b/docs/topics/i18n/timezones.txt
@@ -32,8 +32,7 @@ False <USE_TZ>` in your settings file.
In older version, time zone support was disabled by default.
Time zone support uses :mod:`zoneinfo`, which is part of the Python standard
-library from Python 3.9. The ``backports.zoneinfo`` package is automatically
-installed alongside Django if you are using Python 3.8.
+library from Python 3.9.
If you're wrestling with a particular problem, start with the :ref:`time zone
FAQ <time-zones-faq>`.