From 12ffcfc350a19bbfbc203126a9b6c84b5e0d0ba2 Mon Sep 17 00:00:00 2001 From: Emmanuel Katchy Date: Thu, 18 Jan 2024 22:03:20 +0000 Subject: Updated "Dive Into Python" links. --- docs/ref/django-admin.txt | 8 +++----- docs/ref/templates/builtins.txt | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'docs/ref') 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 diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 03c8e61d20..a10af9310f 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2484,8 +2484,8 @@ individual elements of the sequence. Returns a slice of the list. -Uses the same syntax as Python's list slicing. See -https://diveinto.org/python3/native-datatypes.html#slicinglists for an +Uses the same syntax as Python's list slicing. See the `Python documentation +`_ for an introduction. Example: -- cgit v1.3