[1.9.x] Fixed #26829 -- Simplified version detection command in tutorial

Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
This commit is contained in:
Md. Sadaf Noor 2016-07-02 16:52:36 +06:00 committed by Tim Graham
parent 8af6923e9d
commit bcce93b2c5

View File

@ -17,7 +17,7 @@ tell Django is installed and which version by running the following command:
.. code-block:: console .. code-block:: console
$ python -c "import django; print(django.get_version())" $ python -m django --version
If Django is installed, you should see the version of your installation. If it 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". isn't, you'll get an error telling "No module named django".