Skip to content

Commit 957d0ce

Browse files
committed
Removed outdated Python 2 references from contributing docs.
1 parent 99ab4bd commit 957d0ce

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

docs/internals/contributing/writing-code/coding-style.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Imports
170170
:caption: ``django/contrib/admin/example.py``
171171

172172
# future
173-
from __future__ import unicode_literals
173+
from __future__ import annotations
174174

175175
# standard library
176176
import json

docs/intro/contributing.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ It contains lots of great information and is a must-read for anyone who'd like
7171
to become a regular contributor to Django. If you've got questions, it's
7272
probably got the answers.
7373

74-
.. admonition:: Python 3 required!
75-
76-
The current version of Django doesn't support Python 2.7. Get Python 3 at
77-
`Python's download page <https://www.python.org/downloads/>`_ or with your
78-
operating system's package manager.
79-
8074
.. admonition:: For Windows users
8175

8276
See :ref:`install_python_windows` on Windows docs for additional guidance.

0 commit comments

Comments
 (0)