Fixed #28938 -- Corrected Python compatibility in the tutorial.

This commit is contained in:
Daniel Hepper 2017-12-18 15:06:02 +01:00 committed by Tim Graham
parent 9c9ef58352
commit 4dcd7723d5
1 changed files with 6 additions and 6 deletions

View File

@ -23,12 +23,12 @@ 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| and Python 3.5 or 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 are still using Python
2.7, you will need to adjust the code samples slightly, as described in
comments.
This tutorial is written for Django |version|, which supports Python 3.5 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
version of Python, check :ref:`faq-python-version-support` to find a compatible
version of Django.
See :doc:`How to install Django </topics/install>` for advice on how to remove
older versions of Django and install a newer one.