summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMd. Sadaf Noor <sadaf2605@gmail.com>2016-07-02 16:52:36 +0600
committerTim Graham <timograham@gmail.com>2016-07-02 20:34:05 -0400
commitbcce93b2c54a05c29bd49667db958dce6265d31a (patch)
tree015511be199c79c38f63fc9c73802d04c4dfa669
parent8af6923e9da066aba207d4dc5b2047939503e41c (diff)
[1.9.x] Fixed #26829 -- Simplified version detection command in tutorial
Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
-rw-r--r--docs/intro/tutorial01.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index ba50451d95..9710be7480 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -17,7 +17,7 @@ tell Django is installed and which version by running the following command:
.. 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
isn't, you'll get an error telling "No module named django".