Fixed #26554 -- Updated docs URLs to readthedocs.io
This commit is contained in:
parent
0d8b523422
commit
f945fb24a3
|
@ -1,6 +1,6 @@
|
|||
"""
|
||||
This module houses the GeoIP2 object, a wrapper for the MaxMind GeoIP2(R)
|
||||
Python API (http://geoip2.readthedocs.org/). This is an alternative to the
|
||||
Python API (https://geoip2.readthedocs.io/). This is an alternative to the
|
||||
Python GeoIP2 interface provided by MaxMind.
|
||||
|
||||
GeoIP(R) is a registered trademark of MaxMind, Inc.
|
||||
|
|
|
@ -138,7 +138,7 @@ intersphinx_mapping = {
|
|||
'python': ('https://docs.python.org/3/', None),
|
||||
'sphinx': ('http://sphinx-doc.org/', None),
|
||||
'six': ('https://pythonhosted.org/six/', None),
|
||||
'formtools': ('http://django-formtools.readthedocs.org/en/latest/', None),
|
||||
'formtools': ('https://django-formtools.readthedocs.io/en/latest/', None),
|
||||
'psycopg2': ('http://initd.org/psycopg/docs/', None),
|
||||
}
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ See :doc:`/howto/error-reporting` for details on error reporting by email.
|
|||
Consider using an error monitoring system such as Sentry_ before your
|
||||
inbox is flooded by reports. Sentry can also aggregate logs.
|
||||
|
||||
.. _Sentry: https://sentry.readthedocs.org/en/latest/
|
||||
.. _Sentry: https://docs.getsentry.com/
|
||||
|
||||
Customize the default error views
|
||||
---------------------------------
|
||||
|
|
|
@ -97,8 +97,8 @@ Requests beginning with ``/secret/`` will now require a user to authenticate.
|
|||
The mod_wsgi `access control mechanisms documentation`_ provides additional
|
||||
details and information about alternative methods of authentication.
|
||||
|
||||
.. _Defining Application Groups: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#defining-application-groups
|
||||
.. _access control mechanisms documentation: https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html
|
||||
.. _Defining Application Groups: https://modwsgi.readthedocs.io/en/develop/user-guides/configuration-guidelines.html#defining-application-groups
|
||||
.. _access control mechanisms documentation: https://modwsgi.readthedocs.io/en/develop/user-guides/access-control-mechanisms.html
|
||||
|
||||
Authorization with ``mod_wsgi`` and Django groups
|
||||
-------------------------------------------------
|
||||
|
|
|
@ -18,8 +18,8 @@ The `official mod_wsgi documentation`_ is fantastic; it's your source for all
|
|||
the details about how to use mod_wsgi. You'll probably want to start with the
|
||||
`installation and configuration documentation`_.
|
||||
|
||||
.. _official mod_wsgi documentation: https://modwsgi.readthedocs.org/
|
||||
.. _installation and configuration documentation: https://modwsgi.readthedocs.org/en/develop/installation.html
|
||||
.. _official mod_wsgi documentation: https://modwsgi.readthedocs.io/
|
||||
.. _installation and configuration documentation: https://modwsgi.readthedocs.io/en/develop/installation.html
|
||||
|
||||
Basic configuration
|
||||
===================
|
||||
|
@ -139,7 +139,7 @@ to the configuration above:
|
|||
See the official mod_wsgi documentation for `details on setting up daemon
|
||||
mode`_.
|
||||
|
||||
.. _details on setting up daemon mode: https://modwsgi.readthedocs.org/en/develop/user-guides/quick-configuration-guide.html#delegation-to-daemon-process
|
||||
.. _details on setting up daemon mode: https://modwsgi.readthedocs.io/en/develop/user-guides/quick-configuration-guide.html#delegation-to-daemon-process
|
||||
|
||||
.. _serving-files:
|
||||
|
||||
|
@ -197,7 +197,7 @@ If you are using a version of Apache older than 2.4, replace
|
|||
.. More details on configuring a mod_wsgi site to serve static files can be found
|
||||
.. in the mod_wsgi documentation on `hosting static files`_.
|
||||
|
||||
.. _hosting static files: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#hosting-of-static-files
|
||||
.. _hosting static files: https://modwsgi.readthedocs.io/en/develop/user-guides/configuration-guidelines.html#hosting-of-static-files
|
||||
|
||||
.. _serving-the-admin-files:
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ container server coded in pure C.
|
|||
possible deployment setup of many). The docs below are focused on how to
|
||||
integrate Django with uWSGI.
|
||||
|
||||
.. _tutorial: https://uwsgi.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
|
||||
.. _tutorial: https://uwsgi.readthedocs.io/en/latest/tutorials/Django_and_nginx.html
|
||||
|
||||
Prerequisite: uWSGI
|
||||
===================
|
||||
|
@ -32,7 +32,7 @@ command. For example:
|
|||
# Or install LTS (long term support).
|
||||
$ pip install https://projects.unbit.it/downloads/uwsgi-lts.tar.gz
|
||||
|
||||
.. _installation procedures: http://uwsgi-docs.readthedocs.org/en/latest/Install.html
|
||||
.. _installation procedures: https://uwsgi-docs.readthedocs.io/en/latest/Install.html
|
||||
|
||||
.. warning::
|
||||
|
||||
|
@ -58,7 +58,7 @@ Configuring and starting the uWSGI server for Django
|
|||
uWSGI supports multiple ways to configure the process. See uWSGI's
|
||||
`configuration documentation`_ and `examples`_.
|
||||
|
||||
.. _configuration documentation: https://uwsgi.readthedocs.org/en/latest/Configuration.html
|
||||
.. _configuration documentation: https://uwsgi.readthedocs.io/en/latest/Configuration.html
|
||||
.. _examples: https://projects.unbit.it/uwsgi/wiki/Example
|
||||
|
||||
Here's an example command to start a uWSGI server::
|
||||
|
@ -122,4 +122,4 @@ Example ini configuration file usage::
|
|||
See the uWSGI docs on `managing the uWSGI process`_ for information on
|
||||
starting, stopping and reloading the uWSGI workers.
|
||||
|
||||
.. _managing the uWSGI process: http://uwsgi-docs.readthedocs.org/en/latest/Management.html
|
||||
.. _managing the uWSGI process: https://uwsgi-docs.readthedocs.io/en/latest/Management.html
|
||||
|
|
|
@ -71,4 +71,4 @@ running on standard Python. However, are a few differences to keep in mind:
|
|||
|
||||
* Any part of Django that requires `Pillow`_ will not work.
|
||||
|
||||
.. _Pillow: https://pillow.readthedocs.org/en/latest/
|
||||
.. _Pillow: https://pillow.readthedocs.io/en/latest/
|
||||
|
|
|
@ -387,7 +387,7 @@ Daniele Procida
|
|||
|
||||
.. _Divio: https://divio.ch/
|
||||
.. _Arkestra: http://arkestra-project.org/
|
||||
.. _Don\'t be afraid to commit: https://dont-be-afraid-to-commit.readthedocs.org
|
||||
.. _Don\'t be afraid to commit: https://dont-be-afraid-to-commit.readthedocs.io
|
||||
|
||||
`Erik Romijn`_
|
||||
Erik started using Django in the days of 1.2. His largest contribution to Django was
|
||||
|
|
|
@ -188,7 +188,7 @@ If the ``source`` command is not available, you can try using a dot instead:
|
|||
You have to activate the virtualenv whenever you open a new terminal window.
|
||||
virtualenvwrapper__ is a useful tool for making this more convenient.
|
||||
|
||||
__ https://virtualenvwrapper.readthedocs.org/en/latest/
|
||||
__ https://virtualenvwrapper.readthedocs.io/en/latest/
|
||||
|
||||
Anything you install through ``pip`` from now on will be installed in your new
|
||||
virtualenv, isolated from other environments and system-wide packages. Also, the
|
||||
|
|
|
@ -19,7 +19,7 @@ in a directory corresponding to the :setting:`GEOIP_PATH` setting.
|
|||
Additionally, it is recommended to install the `libmaxminddb C library`__, so
|
||||
that ``geoip2`` can leverage the C library's faster speed.
|
||||
|
||||
__ https://geoip2.readthedocs.org/
|
||||
__ https://geoip2.readthedocs.io/
|
||||
__ https://pypi.python.org/pypi/geoip2
|
||||
__ http://dev.maxmind.com/geoip/geoip2/geolite2/
|
||||
__ https://github.com/maxmind/libmaxminddb
|
||||
|
|
|
@ -921,6 +921,6 @@ the support channels provided by each 3rd party project.
|
|||
|
||||
.. _SAP SQL Anywhere: https://github.com/sqlanywhere/sqlany-django
|
||||
.. _IBM DB2: https://pypi.python.org/pypi/ibm_db/
|
||||
.. _Microsoft SQL Server: http://django-mssql.readthedocs.org/en/latest/
|
||||
.. _Microsoft SQL Server: https://django-mssql.readthedocs.io/en/latest/
|
||||
.. _Firebird: https://github.com/maxirobaina/django-firebird
|
||||
.. _ODBC: https://github.com/lionheart/django-pyodbc/
|
||||
|
|
|
@ -699,8 +699,8 @@ For each field, we describe the default widget used if you don't specify
|
|||
``UploadedFile.content_type`` will be updated with the image's content type
|
||||
if Pillow can determine it, otherwise it will be set to ``None``.
|
||||
|
||||
.. _Pillow: https://pillow.readthedocs.org/en/latest/
|
||||
.. _Image: https://pillow.readthedocs.org/en/latest/reference/Image.html
|
||||
.. _Pillow: https://pillow.readthedocs.io/en/latest/
|
||||
.. _Image: https://pillow.readthedocs.io/en/latest/reference/Image.html
|
||||
|
||||
``IntegerField``
|
||||
----------------
|
||||
|
|
|
@ -14,7 +14,7 @@ This document contains all the API references of :class:`Field` including the
|
|||
|
||||
If the built-in fields don't do the trick, you can try `django-localflavor
|
||||
<https://github.com/django/django-localflavor>`_ (`documentation
|
||||
<https://django-localflavor.readthedocs.org/>`_), which contains assorted
|
||||
<https://django-localflavor.readthedocs.io/>`_), which contains assorted
|
||||
pieces of code that are useful for particular countries and cultures.
|
||||
|
||||
Also, you can easily :doc:`write your own custom model fields
|
||||
|
@ -933,7 +933,7 @@ optional arguments:
|
|||
|
||||
Requires the `Pillow`_ library.
|
||||
|
||||
.. _Pillow: https://pillow.readthedocs.org/en/latest/
|
||||
.. _Pillow: https://pillow.readthedocs.io/en/latest/
|
||||
|
||||
:class:`ImageField` instances are created in your database as ``varchar``
|
||||
columns with a default max length of 100 characters. As with other fields, you
|
||||
|
|
|
@ -2042,7 +2042,7 @@ output will be ``"Joel is a slug"``.
|
|||
more robust, you can use the ``bleach`` Python library, notably its
|
||||
`clean`_ method.
|
||||
|
||||
.. _clean: https://bleach.readthedocs.org/en/latest/clean.html
|
||||
.. _clean: https://bleach.readthedocs.io/en/latest/clean.html
|
||||
|
||||
.. templatefilter:: time
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ though:
|
|||
* The new :attr:`~django.contrib.auth.mixins.AccessMixin.permission_denied_message`
|
||||
attribute allows passing a message to the ``PermissionDenied`` exception.
|
||||
|
||||
.. _django-braces: http://django-braces.readthedocs.org/en/latest/index.html
|
||||
.. _django-braces: https://django-braces.readthedocs.io/en/latest/index.html
|
||||
|
||||
New styling for ``contrib.admin``
|
||||
---------------------------------
|
||||
|
|
|
@ -13,7 +13,7 @@ Localflavor
|
|||
and cultures.
|
||||
|
||||
* `GitHub <https://github.com/django/django-localflavor>`__
|
||||
* `Documentation <https://django-localflavor.readthedocs.org/>`__
|
||||
* `Documentation <https://django-localflavor.readthedocs.io/>`__
|
||||
* `PyPI <https://pypi.python.org/pypi/django-localflavor>`__
|
||||
|
||||
Comments
|
||||
|
@ -25,7 +25,7 @@ else. Most users will be better served with a custom solution, or a hosted
|
|||
product like Disqus.
|
||||
|
||||
* `GitHub <https://github.com/django/django-contrib-comments>`__
|
||||
* `Documentation <http://django-contrib-comments.readthedocs.org/>`__
|
||||
* `Documentation <https://django-contrib-comments.readthedocs.io/>`__
|
||||
* `PyPI <https://pypi.python.org/pypi/django-contrib-comments>`__
|
||||
|
||||
Formtools
|
||||
|
@ -34,5 +34,5 @@ Formtools
|
|||
``django-formtools`` is a collection of assorted utilities to work with forms.
|
||||
|
||||
* `GitHub <https://github.com/django/django-formtools>`__
|
||||
* `Documentation <http://django-formtools.readthedocs.org/>`__
|
||||
* `Documentation <https://django-formtools.readthedocs.io/>`__
|
||||
* `PyPI <https://pypi.python.org/pypi/django-formtools>`__
|
||||
|
|
|
@ -1399,7 +1399,7 @@ You can even pre-generate the JavaScript catalog as part of your deployment
|
|||
procedure and serve it as a static file. This radical technique is implemented
|
||||
in django-statici18n_.
|
||||
|
||||
.. _django-statici18n: http://django-statici18n.readthedocs.org/en/latest/
|
||||
.. _django-statici18n: https://django-statici18n.readthedocs.io/en/latest/
|
||||
|
||||
.. _url-internationalization:
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ This is the recommended way to install Django.
|
|||
|
||||
.. _pip: https://pip.pypa.io/
|
||||
.. _virtualenv: http://www.virtualenv.org/
|
||||
.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.org/en/latest/
|
||||
.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/en/latest/
|
||||
.. _standalone pip installer: https://pip.pypa.io/en/latest/installing.html#install-pip
|
||||
|
||||
Installing a distribution-specific package
|
||||
|
|
|
@ -922,7 +922,7 @@ out the `full reference`_ for more details.
|
|||
|
||||
.. _Selenium: http://seleniumhq.org/
|
||||
.. _selenium package: https://pypi.python.org/pypi/selenium
|
||||
.. _full reference: http://selenium-python.readthedocs.org/en/latest/api.html
|
||||
.. _full reference: https://selenium-python.readthedocs.io/api.html
|
||||
.. _Firefox: https://www.mozilla.com/firefox/
|
||||
|
||||
.. note::
|
||||
|
|
|
@ -25,7 +25,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|||
def test_check_password(self):
|
||||
"""
|
||||
Verify that check_password returns the correct values as per
|
||||
https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
|
||||
https://modwsgi.readthedocs.io/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
|
||||
"""
|
||||
User.objects.create_user('test', 'test@example.com', 'test')
|
||||
|
||||
|
@ -46,7 +46,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|||
def test_check_password_custom_user(self):
|
||||
"""
|
||||
Verify that check_password returns the correct values as per
|
||||
https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
|
||||
https://modwsgi.readthedocs.io/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
|
||||
with custom user installed
|
||||
"""
|
||||
|
||||
|
@ -64,7 +64,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|||
def test_groups_for_user(self):
|
||||
"""
|
||||
Check that groups_for_user returns correct values as per
|
||||
https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-group-authorisation
|
||||
https://modwsgi.readthedocs.io/en/develop/user-guides/access-control-mechanisms.html#apache-group-authorisation
|
||||
"""
|
||||
user1 = User.objects.create_user('test', 'test@example.com', 'test')
|
||||
User.objects.create_user('test1', 'test1@example.com', 'test1')
|
||||
|
|
Loading…
Reference in New Issue