]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update link to Django's Context class. (#24805)
authorMariusz Felisiak <felisiak.mariusz@gmail.com>
Sat, 13 Mar 2021 12:26:11 +0000 (13:26 +0100)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 12:26:11 +0000 (04:26 -0800)
* Update link to Django's Context class.
* Update link to get-pip.py.

Doc/library/collections.rst
Doc/library/venv.rst

index aa0acfaae45a5f05be0dce4d1b799da63692ae92..540db2002343e89d5698ee4be133a8c237fd4641 100644 (file)
@@ -123,7 +123,7 @@ The class can be used to simulate nested scopes and is useful in templating.
       writing to any mapping in the chain.
 
     * Django's `Context class
-      <https://github.com/django/django/blob/master/django/template/context.py>`_
+      <https://github.com/django/django/blob/main/django/template/context.py>`_
       for templating is a read-only chain of mappings.  It also features
       pushing and popping of contexts similar to the
       :meth:`~collections.ChainMap.new_child` method and the
index 5d4a36481f1dcc5b51e78471edb3cf067afb0a9a..2a4eede91a7c17867ff3c5a490819d21478c11cf 100644 (file)
@@ -404,7 +404,7 @@ subclass which installs setuptools and pip into a created virtual environment::
             :param context: The information for the virtual environment
                             creation request being processed.
             """
-            url = 'https://raw.github.com/pypa/pip/master/contrib/get-pip.py'
+            url = 'https://bootstrap.pypa.io/get-pip.py'
             self.install_script(context, 'pip', url)
 
     def main(args=None):