diff options
| author | Md. Sadaf Noor <sadaf2605@gmail.com> | 2016-07-02 16:52:36 +0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-07-02 20:29:50 -0400 |
| commit | 623ab0e6ae7db1991f8d7683e2a9451a1e378b9f (patch) | |
| tree | a65e794f405f039c2628ae94742185a93c388bc0 /docs/intro | |
| parent | 567cfc1601a5f475eea12bc5de53b849fa5dadea (diff) | |
[1.10.x] Fixed #26829 -- Simplified version detection command in tutorial
Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
Diffstat (limited to 'docs/intro')
| -rw-r--r-- | docs/intro/tutorial01.txt | 2 |
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". |
