Skip to content

Commit 272ceb9

Browse files
adamchainzfelixxm
authored andcommitted
Refs #25778 -- Updated some links and references to HTTPS.
1 parent 134cde8 commit 272ceb9

File tree

13 files changed

+62
-62
lines changed

13 files changed

+62
-62
lines changed

django/contrib/admin/static/admin/img/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
All icons are taken from Font Awesome (http://fontawesome.io/) project.
1+
All icons are taken from Font Awesome (https://fontawesome.com/) project.
22
The Font Awesome font is licensed under the SIL OFL 1.1:
33
- https://scripts.sil.org/OFL
44

docs/howto/outputting-pdf.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ printer-friendly NCAA tournament brackets, as PDF files, for people
1515
participating in a March Madness contest.
1616

1717
.. _ReportLab: https://docs.reportlab.com/
18-
.. _kusports.com: http://www2.kusports.com/
18+
.. _kusports.com: https://www2.kusports.com/
1919

2020
Install ReportLab
2121
=================

docs/misc/design-philosophies.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ template system a programmer uses.
2727
Although Django comes with a full stack for convenience, the pieces of the
2828
stack are independent of another wherever possible.
2929

30-
.. _`loose coupling and tight cohesion`: http://wiki.c2.com/?CouplingAndCohesion
30+
.. _`loose coupling and tight cohesion`: https://wiki.c2.com/?CouplingAndCohesion
3131

3232
.. _less-code:
3333

@@ -66,7 +66,7 @@ as possible.
6666

6767
The `discussion of DRY on the Portland Pattern Repository`__
6868

69-
__ http://wiki.c2.com/?DontRepeatYourself
69+
__ https://wiki.c2.com/?DontRepeatYourself
7070

7171
.. _explicit-is-better-than-implicit:
7272

docs/ref/contrib/gis/gdal.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1980,7 +1980,7 @@ For instance:
19801980

19811981
# Read a raster as a file object from a remote source.
19821982
>>> from urllib.request import urlopen
1983-
>>> dat = urlopen("http://example.com/raster.tif").read()
1983+
>>> dat = urlopen("https://example.com/raster.tif").read()
19841984
# Instantiate a raster from the bytes object.
19851985
>>> rst = GDALRaster(dat)
19861986
# The name starts with /vsimem/, indicating that the raster lives in the

docs/ref/contrib/sitemaps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ generate a Google News compatible sitemap:
568568
<?xml version="1.0" encoding="UTF-8"?>
569569
<urlset
570570
xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"
571-
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
571+
xmlns:news="https://www.google.com/schemas/sitemap-news/0.9">
572572
{% spaceless %}
573573
{% for url in urlset %}
574574
<url>

docs/ref/contrib/sites.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Getting the current domain for full URLs
246246

247247
Django's ``get_absolute_url()`` convention is nice for getting your objects'
248248
URL without the domain name, but in some cases you might want to display the
249-
full URL -- with ``http://`` and the domain and everything -- for an object.
249+
full URL -- with ``https://`` and the domain and everything -- for an object.
250250
To do this, you can use the sites framework. An example:
251251

252252
.. code-block:: pycon

docs/ref/contrib/syndication.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ This example illustrates all possible attributes and methods for a
532532

533533
# AUTHOR LINK --One of the following three is optional. The framework
534534
# looks for them in this order. In each case, the URL should include
535-
# the "http://" and domain name.
535+
# the scheme (such as "https://") and domain name.
536536

537537
def author_link(self, obj):
538538
"""
@@ -735,7 +735,7 @@ This example illustrates all possible attributes and methods for a
735735

736736
# ITEM AUTHOR LINK -- One of the following three is optional. The
737737
# framework looks for them in this order. In each case, the URL should
738-
# include the "http://" and domain name.
738+
# include the scheme (such as "https://") and domain name.
739739
#
740740
# If you specify this, you must specify item_author_name.
741741

docs/ref/forms/fields.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@ field is initialized to a particular value. For example:
173173
>>> from django import forms
174174
>>> class CommentForm(forms.Form):
175175
... name = forms.CharField(initial="Your name")
176-
... url = forms.URLField(initial="http://")
176+
... url = forms.URLField(initial="https://")
177177
... comment = forms.CharField()
178178
...
179179
>>> f = CommentForm(auto_id=False)
180180
>>> print(f)
181181
<div>Name:<input type="text" name="name" value="Your name" required></div>
182-
<div>Url:<input type="url" name="url" value="http://" required></div>
182+
<div>Url:<input type="url" name="url" value="https://" required></div>
183183
<div>Comment:<input type="text" name="comment" required></div>
184184

185185
You may be thinking, why not just pass a dictionary of the initial values as
@@ -193,15 +193,15 @@ and the HTML output will include any validation errors:
193193
... url = forms.URLField()
194194
... comment = forms.CharField()
195195
...
196-
>>> default_data = {"name": "Your name", "url": "http://"}
196+
>>> default_data = {"name": "Your name", "url": "https://"}
197197
>>> f = CommentForm(default_data, auto_id=False)
198198
>>> print(f)
199199
<div>Name:
200200
<input type="text" name="name" value="Your name" required>
201201
</div>
202202
<div>Url:
203203
<ul class="errorlist"><li>Enter a valid URL.</li></ul>
204-
<input type="url" name="url" value="http://" required aria-invalid="true">
204+
<input type="url" name="url" value="https://" required aria-invalid="true">
205205
</div>
206206
<div>Comment:
207207
<ul class="errorlist"><li>This field is required.</li></ul>
@@ -219,7 +219,7 @@ validation if a particular field's value is not given. ``initial`` values are
219219

220220
>>> class CommentForm(forms.Form):
221221
... name = forms.CharField(initial="Your name")
222-
... url = forms.URLField(initial="http://")
222+
... url = forms.URLField(initial="https://")
223223
... comment = forms.CharField()
224224
...
225225
>>> data = {"name": "", "url": "", "comment": "Foo"}

docs/ref/settings.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,7 +2096,7 @@ If you want to use ``{{ MEDIA_URL }}`` in your templates, add
20962096
``'django.template.context_processors.media'`` in the ``'context_processors'``
20972097
option of :setting:`TEMPLATES`.
20982098

2099-
Example: ``"http://media.example.com/"``
2099+
Example: ``"https://media.example.com/"``
21002100

21012101
.. warning::
21022102

@@ -3478,7 +3478,7 @@ Default: ``None``
34783478

34793479
URL to use when referring to static files located in :setting:`STATIC_ROOT`.
34803480

3481-
Example: ``"static/"`` or ``"http://static.example.com/"``
3481+
Example: ``"static/"`` or ``"https://static.example.com/"``
34823482

34833483
If not ``None``, this will be used as the base path for
34843484
:ref:`asset definitions<form-asset-paths>` (the ``Media`` class) and the

docs/ref/utils.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@ Sample usage:
306306
>>> from django.utils import feedgenerator
307307
>>> feed = feedgenerator.Rss201rev2Feed(
308308
... title="Poynter E-Media Tidbits",
309-
... link="http://www.poynter.org/column.asp?id=31",
309+
... link="https://www.poynter.org/tag/e-media-tidbits/",
310310
... description="A group blog by the sharpest minds in online media/journalism/publishing.",
311311
... language="en",
312312
... )
313313
>>> feed.add_item(
314314
... title="Hello",
315-
... link="http://www.holovaty.com/test/",
315+
... link="https://www.holovaty.com/test/",
316316
... description="Testing.",
317317
... )
318318
>>> with open("test.rss", "w") as fp:

0 commit comments

Comments
 (0)