mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
[1.10.x] Fixed #26829 -- Simplified version detection command in tutorial
Backport of ed1c15d8fb
from master
This commit is contained in:
parent
567cfc1601
commit
623ab0e6ae
1 changed files with 1 additions and 1 deletions
|
@ -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".
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue