mirror of
https://github.com/django/django.git
synced 2025-04-01 03:56:42 +00:00
[1.10.x] Fixed #26829 -- Simplified version detection command in tutorial
Backport of ed1c15d8fbc17e60621ca56f67340987531e647d from master
This commit is contained in:
parent
567cfc1601
commit
623ab0e6ae
@ -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…
x
Reference in New Issue
Block a user