diff options
| author | Emmanuel Katchy <katchyemma@gmail.com> | 2024-01-18 22:03:20 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-01-20 22:22:49 +0100 |
| commit | c4a6a8d8155d7e69164ed6b44ef74837ed2fe710 (patch) | |
| tree | b9cd505db49804188620293b0d7828577fb5c2cc /docs/ref | |
| parent | ee78fe390db7cf319f0ddc2de0c9190c783ef925 (diff) | |
[5.0.x] Updated "Dive Into Python" links.
Backport of 12ffcfc350a19bbfbc203126a9b6c84b5e0d0ba2 from main
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 8 | ||||
| -rw-r--r-- | docs/ref/templates/builtins.txt | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index f533aa11de..59c731113c 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1804,9 +1804,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. @@ -1817,8 +1817,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 c95006fb51..8a2b714135 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2440,8 +2440,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 +<https://docs.python.org/3/tutorial/introduction.html#lists>`_ for an introduction. Example: |
