https://github.com/python/cpython/commit/714217f9561507bbc7218a02089d0e1da0239372 commit: 714217f9561507bbc7218a02089d0e1da0239372 branch: master author: kevin seelbach <2671980+kevinseelbach at users.noreply.github.com> committer: GitHub <noreply at github.com> date: 2020年06月14日T10:23:47-07:00 summary: Fixes dead links to Django's logging config docs (GH-20823) Fixes two outdated URLs to point at the current "stable" version of Django's logging documentation. Automerge-Triggered-By: @vsajip files: M Doc/howto/logging-cookbook.rst diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index 17f4ff6e474c2..de0f834551f5d 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -1368,7 +1368,7 @@ An example dictionary-based configuration ----------------------------------------- Below is an example of a logging configuration dictionary - it's taken from -the `documentation on the Django project <https://docs.djangoproject.com/en/1.9/topics/logging/#configuring-logging>`_. +the `documentation on the Django project <https://docs.djangoproject.com/en/stable/topics/logging/#configuring-logging>`_. This dictionary is passed to :func:`~config.dictConfig` to put the configuration into effect:: LOGGING = { @@ -1424,7 +1424,7 @@ This dictionary is passed to :func:`~config.dictConfig` to put the configuration } For more information about this configuration, you can see the `relevant -section <https://docs.djangoproject.com/en/1.9/topics/logging/#configuring-logging>`_ +section <https://docs.djangoproject.com/en/stable/topics/logging/#configuring-logging>`_ of the Django documentation. .. _cookbook-rotator-namer: