mirror of
https://github.com/python/cpython.git
synced 2024-11-30 13:24:13 +08:00
Update link to Django's Context class. (#24805)
* Update link to Django's Context class. * Update link to get-pip.py.
This commit is contained in:
parent
b6884ad268
commit
d0a445490e
@ -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
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user