diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index ba50451d959..9710be7480d 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".