File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,19 @@ It'll consist of two parts:
1313* An admin site that lets you add, change and delete polls.
1414
1515We'll assume you have :doc:`Django installed </intro/install>` already. You can
16- tell Django is installed by running the Python interactive interpreter and
17- typing ``import django``. If that command runs successfully, with no errors,
18- Django is installed.
16+ tell Django is installed and which version by running the following command:
17+
18+ .. code-block:: bash
19+
20+ python -c "import django; print(django.get_version())"
21+
22+ You should see either the version of your Django installation or an error
23+ telling "No module named django". Check also that the version number matches
24+ the version of this tutorial. If they don't match, you can refer to the
25+ tutorial for your version of Django or update Django to the newest version.
26+
27+ See :doc:`How to install Django </topics/install>` for advice on how to remove
28+ older versions of Django and install a newer one.
1929
2030.. admonition:: Where to get help:
2131
You can’t perform that action at this time.
0 commit comments