diff --git a/docs/howto/auth-remote-user.txt b/docs/howto/auth-remote-user.txt index 7bc9ef08c0..fc16647098 100644 --- a/docs/howto/auth-remote-user.txt +++ b/docs/howto/auth-remote-user.txt @@ -13,7 +13,7 @@ Windows Authentication or Apache and `mod_authnz_ldap`_, `CAS`_, `Cosign`_, .. _CAS: https://www.apereo.org/projects/cas .. _Cosign: http://weblogin.org .. _WebAuth: https://www.stanford.edu/services/webauth/ -.. _mod_auth_sspi: http://sourceforge.net/projects/mod-auth-sspi +.. _mod_auth_sspi: https://sourceforge.net/projects/mod-auth-sspi When the Web server takes care of authentication it typically sets the ``REMOTE_USER`` environment variable for use in the underlying application. In diff --git a/docs/howto/deployment/wsgi/apache-auth.txt b/docs/howto/deployment/wsgi/apache-auth.txt index 5f134209f0..912d11830e 100644 --- a/docs/howto/deployment/wsgi/apache-auth.txt +++ b/docs/howto/deployment/wsgi/apache-auth.txt @@ -22,7 +22,7 @@ version >= 2.2 and mod_wsgi >= 2.0. For example, you could: a 'name' field. You can also specify your own custom mod_wsgi auth handler if your custom cannot conform to these requirements. -.. _Subversion: http://subversion.apache.org/ +.. _Subversion: https://subversion.apache.org/ .. _mod_dav: https://httpd.apache.org/docs/2.2/mod/mod_dav.html Authentication with ``mod_wsgi`` diff --git a/docs/howto/initial-data.txt b/docs/howto/initial-data.txt index 5945073889..0568d36262 100644 --- a/docs/howto/initial-data.txt +++ b/docs/howto/initial-data.txt @@ -19,7 +19,7 @@ Or, you can write fixtures by hand; fixtures can be written as JSON, XML or YAML ` has more details about each of these supported :ref:`serialization formats `. -.. _PyYAML: http://www.pyyaml.org/ +.. _PyYAML: https://www.pyyaml.org/ As an example, though, here's what a fixture for a simple ``Person`` model might look like in JSON: diff --git a/docs/howto/outputting-pdf.txt b/docs/howto/outputting-pdf.txt index bfcea02f97..7f1b9d1b1a 100644 --- a/docs/howto/outputting-pdf.txt +++ b/docs/howto/outputting-pdf.txt @@ -14,7 +14,7 @@ For example, Django was used at kusports.com_ to generate customized, printer-friendly NCAA tournament brackets, as PDF files, for people participating in a March Madness contest. -.. _ReportLab: http://www.reportlab.com/opensource/ +.. _ReportLab: https://www.reportlab.com/opensource/ .. _kusports.com: http://www.kusports.com/ Install ReportLab @@ -35,7 +35,7 @@ Test your installation by importing it in the Python interactive interpreter:: If that command doesn't raise any errors, the installation worked. .. _available on PyPI: https://pypi.python.org/pypi/reportlab -.. _user guide: http://www.reportlab.com/docs/reportlab-userguide.pdf +.. _user guide: https://www.reportlab.com/docs/reportlab-userguide.pdf Write your view =============== diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 6dbbf06518..ce5e42d5a4 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -265,10 +265,10 @@ associated tests will be skipped. .. _jinja2: https://pypi.python.org/pypi/jinja2 .. _numpy: https://pypi.python.org/pypi/numpy .. _Pillow: https://pypi.python.org/pypi/Pillow/ -.. _PyYAML: http://pyyaml.org/wiki/PyYAML +.. _PyYAML: https://pyyaml.org/wiki/PyYAML .. _pytz: https://pypi.python.org/pypi/pytz/ .. _setuptools: https://pypi.python.org/pypi/setuptools/ -.. _memcached: http://memcached.org/ +.. _memcached: https://memcached.org/ .. _gettext: https://www.gnu.org/software/gettext/manual/gettext.html .. _selenium: https://pypi.python.org/pypi/selenium .. _sqlparse: https://pypi.python.org/pypi/sqlparse diff --git a/docs/internals/release-process.txt b/docs/internals/release-process.txt index dc6d9a0696..107e2ab060 100644 --- a/docs/internals/release-process.txt +++ b/docs/internals/release-process.txt @@ -65,7 +65,7 @@ Release cadence =============== Starting with Django 2.0, version numbers will use a loose form of `semantic -versioning `_ such that each version following an LTS will +versioning `_ such that each version following an LTS will bump to the next "dot zero" version. For example: 2.0, 2.1, 2.2 (LTS), 3.0, 3.1, 3.2 (LTS), etc. diff --git a/docs/ref/contrib/gis/feeds.txt b/docs/ref/contrib/gis/feeds.txt index 4f9b5894b0..8705d51815 100644 --- a/docs/ref/contrib/gis/feeds.txt +++ b/docs/ref/contrib/gis/feeds.txt @@ -11,7 +11,7 @@ in RSS/Atom feeds formatted according to either the `Simple GeoRSS`__ or Django's, please consult :doc:`Django's syndication documentation ` for details on general usage. -.. _W3C Geo: http://www.w3.org/2003/01/geo/ +.. _W3C Geo: https://www.w3.org/2003/01/geo/ __ http://georss.org/simple.html diff --git a/docs/ref/contrib/gis/forms-api.txt b/docs/ref/contrib/gis/forms-api.txt index c5907ae2a8..ea48edb54a 100644 --- a/docs/ref/contrib/gis/forms-api.txt +++ b/docs/ref/contrib/gis/forms-api.txt @@ -9,7 +9,7 @@ GeoDjango provides some specialized form fields and widgets in order to visually display and edit geolocalized data on a map. By default, they use `OpenLayers`_-powered maps, with a base WMS layer provided by `NASA`_. -.. _OpenLayers: http://openlayers.org/ +.. _OpenLayers: https://openlayers.org/ .. _NASA: https://earthdata.nasa.gov/ Field arguments diff --git a/docs/ref/contrib/gis/functions.txt b/docs/ref/contrib/gis/functions.txt index fd5b83a475..47ab21bfa3 100644 --- a/docs/ref/contrib/gis/functions.txt +++ b/docs/ref/contrib/gis/functions.txt @@ -165,7 +165,7 @@ Keyword Argument Description representation -- the default value is 8. ===================== ===================================================== -__ http://www.w3.org/Graphics/SVG/ +__ https://www.w3.org/Graphics/SVG/ ``Azimuth`` =========== diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt index aba7995c0a..d24f2976de 100644 --- a/docs/ref/contrib/gis/geoip2.txt +++ b/docs/ref/contrib/gis/geoip2.txt @@ -19,7 +19,7 @@ that ``geoip2`` can leverage the C library's faster speed. __ https://geoip2.readthedocs.io/ __ https://pypi.python.org/pypi/geoip2 -__ http://dev.maxmind.com/geoip/geoip2/geolite2/ +__ https://dev.maxmind.com/geoip/geoip2/geolite2/ __ https://github.com/maxmind/libmaxminddb Example diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt index 70d1ef0b9c..dfc86c4efb 100644 --- a/docs/ref/contrib/gis/geoquerysets.txt +++ b/docs/ref/contrib/gis/geoquerysets.txt @@ -852,4 +852,4 @@ Example:: .. rubric:: Footnotes .. [#fnde9im] *See* `OpenGIS Simple Feature Specification For SQL `_, at Ch. 2.1.13.2, p. 2-13 (The Dimensionally Extended Nine-Intersection Model). .. [#fnsdorelate] *See* `SDO_RELATE documentation `_, from the Oracle Spatial and Graph Developer's Guide. -.. [#fncovers] For an explanation of this routine, read `Quirks of the "Contains" Spatial Predicate `_ by Martin Davis (a PostGIS developer). +.. [#fncovers] For an explanation of this routine, read `Quirks of the "Contains" Spatial Predicate `_ by Martin Davis (a PostGIS developer). diff --git a/docs/ref/contrib/gis/install/index.txt b/docs/ref/contrib/gis/install/index.txt index 2d647593e3..a648b8e346 100644 --- a/docs/ref/contrib/gis/install/index.txt +++ b/docs/ref/contrib/gis/install/index.txt @@ -225,7 +225,7 @@ __ https://www.python.org/ftp/python/ Postgres.app ~~~~~~~~~~~~ -`Postgres.app `_ is a standalone PostgreSQL server +`Postgres.app `_ is a standalone PostgreSQL server that includes the PostGIS extension. You will also need to install ``gdal`` and ``libgeoip`` with :ref:`homebrew`. @@ -299,8 +299,8 @@ your ``.profile`` to be able to run the package programs from the command-line:: export PATH=/Library/Frameworks/GDAL.framework/Programs:$PATH export PATH=/usr/local/pgsql/bin:$PATH -__ http://www.kyngchaos.com/software/frameworks -__ http://www.kyngchaos.com/software/postgres +__ https://www.kyngchaos.com/software/frameworks +__ https://www.kyngchaos.com/software/postgres .. _psycopg2_kyngchaos: diff --git a/docs/ref/contrib/gis/tutorial.txt b/docs/ref/contrib/gis/tutorial.txt index dd043077f9..33c9ebabfd 100644 --- a/docs/ref/contrib/gis/tutorial.txt +++ b/docs/ref/contrib/gis/tutorial.txt @@ -745,7 +745,7 @@ you just created. Browse to any of the ``WorldBorder`` entries -- the borders may be edited by clicking on a polygon and dragging the vertexes to the desired position. -.. _OpenLayers: http://openlayers.org/ +.. _OpenLayers: https://openlayers.org/ .. _Open Street Map: https://www.openstreetmap.org/ .. _Vector Map Level 0: http://earth-info.nga.mil/publications/vmap0.html .. _OSGeo: http://www.osgeo.org diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index a883c68f36..2c300a1d03 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -344,9 +344,9 @@ mentioned above. Feel free to override this method to use your own hashing algorithm. .. _`far future Expires headers`: https://developer.yahoo.com/performance/rules.html#expires -.. _`@import`: http://www.w3.org/TR/CSS2/cascade.html#at-import -.. _`url()`: http://www.w3.org/TR/CSS2/syndata.html#uri -.. _`Cascading Style Sheets`: http://www.w3.org/Style/CSS/ +.. _`@import`: https://www.w3.org/TR/CSS2/cascade.html#at-import +.. _`url()`: https://www.w3.org/TR/CSS2/syndata.html#uri +.. _`Cascading Style Sheets`: https://www.w3.org/Style/CSS/ ``CachedStaticFilesStorage`` ---------------------------- diff --git a/docs/ref/contrib/syndication.txt b/docs/ref/contrib/syndication.txt index 421bceaec1..0685c4c90d 100644 --- a/docs/ref/contrib/syndication.txt +++ b/docs/ref/contrib/syndication.txt @@ -942,7 +942,7 @@ They share this interface: All parameters should be strings, except ``categories``, which should be a sequence of strings. Beware that some control characters - are `not allowed `_ + are `not allowed `_ in XML documents. If your content has some of them, you might encounter a :exc:`ValueError` when producing the feed. diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 35407493f7..d47d09b65c 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -358,7 +358,7 @@ in the :setting:`SECURE_REDIRECT_EXEMPT` setting. Django can't seem to tell when a request actually is already secure, you may need to set the :setting:`SECURE_PROXY_SSL_HEADER` setting. -.. _nginx: http://nginx.org +.. _nginx: https://nginx.org Session middleware ------------------ diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt index 0a5f1b610c..bc870b101b 100644 --- a/docs/ref/request-response.txt +++ b/docs/ref/request-response.txt @@ -958,7 +958,7 @@ Without passing ``safe=False``, a :exc:`TypeError` will be raised. .. warning:: Before the `5th edition of ECMAScript - `_ + `_ it was possible to poison the JavaScript ``Array`` constructor. For this reason, Django does not allow passing non-dict objects to the :class:`~django.http.JsonResponse` constructor by default. However, most diff --git a/docs/ref/templates/language.txt b/docs/ref/templates/language.txt index 6daf00043a..806832e061 100644 --- a/docs/ref/templates/language.txt +++ b/docs/ref/templates/language.txt @@ -28,7 +28,7 @@ or Jinja2_, you should feel right at home with Django's templates. ` to the template language as needed). .. _`The Django template language: For Python programmers`: ../templates_python/ -.. _Smarty: http://www.smarty.net/ +.. _Smarty: https://www.smarty.net/ .. _Jinja2: http://jinja.pocoo.org/ Templates diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 7c72075817..d2cdf793f9 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -68,7 +68,7 @@ to handle high loads at LiveJournal.com and subsequently open-sourced by Danga Interactive. It is used by sites such as Facebook and Wikipedia to reduce database access and dramatically increase site performance. -__ http://memcached.org/ +__ https://memcached.org/ Memcached runs as a daemon and is allotted a specified amount of RAM. All it does is provide a fast interface for adding, retrieving and deleting data in @@ -1248,7 +1248,7 @@ Here are some more examples: The full list of known directives can be found in the `IANA registry`_ (note that not all of them apply to responses). -.. _IANA registry: http://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml +.. _IANA registry: https://www.iana.org/assignments/http-cache-directives/http-cache-directives.xhtml If you want to use headers to disable caching altogether, :func:`~django.views.decorators.cache.never_cache` is a view decorator that diff --git a/docs/topics/db/search.txt b/docs/topics/db/search.txt index 3565159ecb..c7e855d4d7 100644 --- a/docs/topics/db/search.txt +++ b/docs/topics/db/search.txt @@ -98,7 +98,7 @@ can then look it up in the database. There are a variety of third-party libraries which are designed to help with this process. .. _Elastic: https://www.elastic.co/ -.. _Solr: http://lucene.apache.org/solr/ +.. _Solr: https://lucene.apache.org/solr/ PostgreSQL support ~~~~~~~~~~~~~~~~~~ diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index a74eb8ce0a..613069327c 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -12,7 +12,7 @@ There's no ``.php`` or ``.cgi`` required, and certainly none of that See `Cool URIs don't change`_, by World Wide Web creator Tim Berners-Lee, for excellent arguments on why URLs should be clean and usable. -.. _Cool URIs don't change: http://www.w3.org/Provider/Style/URI +.. _Cool URIs don't change: https://www.w3.org/Provider/Style/URI Overview ======== diff --git a/docs/topics/i18n/index.txt b/docs/topics/i18n/index.txt index 366ff97bb9..9b169f41e1 100644 --- a/docs/topics/i18n/index.txt +++ b/docs/topics/i18n/index.txt @@ -48,7 +48,7 @@ here's a simplified definition: More details can be found in the `W3C Web Internationalization FAQ`_, the `Wikipedia article`_ or the `GNU gettext documentation`_. -.. _W3C Web Internationalization FAQ: http://www.w3.org/International/questions/qa-i18n +.. _W3C Web Internationalization FAQ: https://www.w3.org/International/questions/qa-i18n .. _GNU gettext documentation: https://www.gnu.org/software/gettext/manual/gettext.html#Concepts .. _Wikipedia article: https://en.wikipedia.org/wiki/Internationalization_and_localization diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index 0c5121b79c..ee4d9e6e9f 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1686,7 +1686,7 @@ This is only needed for people who either want to extract message IDs or compile message files (``.po``). Translation work itself just involves editing existing files of this type, but if you want to create your own message files, or want to test or compile a changed message file, download `a precompiled binary -installer `_. +installer `_. You may also use ``gettext`` binaries you have obtained elsewhere, so long as the ``xgettext --version`` command works properly. Do not attempt to use Django diff --git a/docs/topics/install.txt b/docs/topics/install.txt index ab6b41a3ee..b2898bf241 100644 --- a/docs/topics/install.txt +++ b/docs/topics/install.txt @@ -59,7 +59,7 @@ very well with `nginx`_. Additionally, Django follows the WSGI spec (:pep:`3333`), which allows it to run on a variety of server platforms. .. _Apache: https://httpd.apache.org/ -.. _nginx: http://nginx.org/ +.. _nginx: https://nginx.org/ .. _mod_wsgi: http://www.modwsgi.org/ .. _database-installation: diff --git a/docs/topics/performance.txt b/docs/topics/performance.txt index 74794415b7..ebc192c0ab 100644 --- a/docs/topics/performance.txt +++ b/docs/topics/performance.txt @@ -410,15 +410,15 @@ performance gains for your application to outweigh the potential risks. With these caveats in mind, you should be aware of: -`PyPy `_ -~~~~~~~~~~~~~~~~~~~~~~~~~~ +`PyPy `_ +~~~~~~~~~~~~~~~~~~~~~~~~~~~ -`PyPy `_ is an implementation of Python in Python itself (the -'standard' Python implementation is in C). PyPy can offer substantial +`PyPy `_ is an implementation of Python in Python itself +(the 'standard' Python implementation is in C). PyPy can offer substantial performance gains, typically for heavyweight applications. A key aim of the PyPy project is `compatibility -`_ with existing Python APIs and libraries. +`_ with existing Python APIs and libraries. Django is compatible, but you will need to check the compatibility of other libraries you rely on. diff --git a/docs/topics/serialization.txt b/docs/topics/serialization.txt index 6ab1bdf0bf..58a00bec20 100644 --- a/docs/topics/serialization.txt +++ b/docs/topics/serialization.txt @@ -164,8 +164,8 @@ Identifier Information serializer is only available if PyYAML_ is installed. ========== ============================================================== -.. _json: http://json.org/ -.. _PyYAML: http://www.pyyaml.org/ +.. _json: https://json.org/ +.. _PyYAML: https://www.pyyaml.org/ XML --- @@ -220,7 +220,7 @@ This example links the given user with the permission models with PKs 46 and 47. accepted in the XML 1.0 standard, the serialization will fail with a :exc:`ValueError` exception. Read also the W3C's explanation of `HTML, XHTML, XML and Control Codes - `_. + `_. .. _serialization-formats-json: @@ -300,7 +300,7 @@ The JSON serializer uses ``DjangoJSONEncoder`` for encoding. A subclass of :class:`~decimal.Decimal`, ``Promise`` (``django.utils.functional.lazy()`` objects), :class:`~uuid.UUID` A string representation of the object. -.. _ecma-262: http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15 +.. _ecma-262: https://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15 YAML ---- diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index f4c875b1c6..026b443b72 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -715,5 +715,5 @@ listed here because of the ``source`` flag passed to the previous command. For more options like annotated HTML listings detailing missed lines, see the `coverage.py`_ docs. -.. _coverage.py: http://coverage.readthedocs.io/ +.. _coverage.py: https://coverage.readthedocs.io/ .. _install coverage.py: https://pypi.python.org/pypi/coverage diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index ea80b45479..d349efe7a0 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -161,7 +161,7 @@ Use the ``django.test.Client`` class to make requests. HTTP request from the browser to the server should be passed as ``HTTP_HOST``. - .. _CGI: http://www.w3.org/CGI/ + .. _CGI: https://www.w3.org/CGI/ If you already have the GET arguments in URL-encoded form, you can use that encoding instead of using the data argument. For example,