summaryrefslogtreecommitdiff
path: root/docs/ref/django-admin.txt
diff options
context:
space:
mode:
authorEmmanuel Katchy <katchyemma@gmail.com>2024-01-18 22:03:20 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-01-20 19:43:55 +0100
commit12ffcfc350a19bbfbc203126a9b6c84b5e0d0ba2 (patch)
tree2c1f995690412ef400c71030d91eaed696f00a67 /docs/ref/django-admin.txt
parent4879907223d70ee1a82474d9286ccfa5dae96971 (diff)
Updated "Dive Into Python" links.
Diffstat (limited to 'docs/ref/django-admin.txt')
-rw-r--r--docs/ref/django-admin.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index 7f3fa271c8..3fba67bf20 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -1797,9 +1797,9 @@ allows for the following options by default:
.. django-admin-option:: --pythonpath PYTHONPATH
-Adds the given filesystem path to the Python `import search path`_. If this
-isn't provided, ``django-admin`` will use the :envvar:`PYTHONPATH` environment
-variable.
+Adds the given filesystem path to the Python :py:data:`sys.path` module
+attribute. If this isn't provided, ``django-admin`` will use the
+:envvar:`PYTHONPATH` environment variable.
This option is unnecessary in ``manage.py``, because it takes care of setting
the Python path for you.
@@ -1810,8 +1810,6 @@ Example usage:
django-admin migrate --pythonpath='/home/djangoprojects/myproject'
-.. _import search path: https://diveinto.org/python3/your-first-python-program.html#importsearchpath
-
.. django-admin-option:: --settings SETTINGS
Specifies the settings module to use. The settings module should be in Python