]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Update link to Django's Context class. (GH-24805) (#24842)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 13 Mar 2021 12:34:38 +0000 (04:34 -0800)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 12:34:38 +0000 (04:34 -0800)
* Update link to Django's Context class.
* Update link to get-pip.py.
(cherry picked from commit d0a445490e2c0e1d2aef3005f14211d9a85196bf)

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Doc/library/collections.rst
Doc/library/venv.rst

index d4297166597b643180b39757e2f1958fe501c4af..7cbc1721df151f898b546c55ff52320f0da3806b 100644 (file)
@@ -125,7 +125,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 59b251837a4896c33175c89cec7f457947aa5d75..593ba96cf38be1e16128182c4e09814111242efe 100644 (file)
@@ -386,7 +386,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):