summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/contributing/writing-code/coding-style.txt2
-rw-r--r--docs/ref/contrib/gis/install/index.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt
index 739ff0f4b9..66cbb2f8bb 100644
--- a/docs/internals/contributing/writing-code/coding-style.txt
+++ b/docs/internals/contributing/writing-code/coding-style.txt
@@ -19,7 +19,7 @@ To use the tool, first install ``pre-commit`` and then the git hooks::
.. console::
- $ pip install pre-commit
+ $ python -m pip install pre-commit
$ pre-commit install
On the first commit ``pre-commit`` will install the hooks, these are
diff --git a/docs/ref/contrib/gis/install/index.txt b/docs/ref/contrib/gis/install/index.txt
index 2a39cb9137..687fe5d59d 100644
--- a/docs/ref/contrib/gis/install/index.txt
+++ b/docs/ref/contrib/gis/install/index.txt
@@ -494,7 +494,7 @@ The ``psycopg2`` Python module provides the interface between Python and the
PostgreSQL database. ``psycopg2`` can be installed via pip within your Python
virtual environment::
- pip install psycopg2
+ ...\> py -m pip install psycopg2
.. rubric:: Footnotes
.. [#] GeoDjango uses the :func:`~ctypes.util.find_library` routine from