mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Updated various links in docs to avoid redirects
Thanks Tim Graham and Mariusz Felisiak for review and completion.
This commit is contained in:
@@ -7,10 +7,10 @@ GeoDjango Forms API
|
||||
|
||||
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 `Metacarta`_.
|
||||
`OpenLayers`_-powered maps, with a base WMS layer provided by `NASA`_.
|
||||
|
||||
.. _OpenLayers: http://openlayers.org/
|
||||
.. _Metacarta: http://www.metacarta.com/
|
||||
.. _NASA: https://earthdata.nasa.gov/
|
||||
|
||||
Field arguments
|
||||
===============
|
||||
|
||||
@@ -18,7 +18,7 @@ and spatial operators. GEOS, now an OSGeo project, was initially developed and
|
||||
maintained by `Refractions Research`__ of Victoria, Canada.
|
||||
|
||||
__ https://trac.osgeo.org/geos/
|
||||
__ http://sourceforge.net/projects/jts-topo-suite/
|
||||
__ https://sourceforge.net/projects/jts-topo-suite/
|
||||
__ http://www.opengeospatial.org/standards/sfs
|
||||
__ http://www.refractions.net/
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ Summary::
|
||||
$ brew install gdal
|
||||
$ brew install libgeoip
|
||||
|
||||
__ http://brew.sh/
|
||||
__ https://brew.sh/
|
||||
.. _Xcode: https://developer.apple.com/xcode/
|
||||
|
||||
.. _kyngchaos:
|
||||
@@ -402,8 +402,8 @@ install :ref:`postgisasb`.
|
||||
and contains shortcuts for the ASB as well as the 'SQL Shell',
|
||||
which will launch a ``psql`` command window.
|
||||
|
||||
__ http://www.enterprisedb.com/products-services-training/pgdownload
|
||||
__ http://www.enterprisedb.com
|
||||
__ https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
|
||||
__ https://www.enterprisedb.com
|
||||
|
||||
.. _postgisasb:
|
||||
|
||||
|
||||
@@ -133,4 +133,4 @@ following to your ``settings.py``::
|
||||
|
||||
SPATIALITE_LIBRARY_PATH='/usr/local/lib/mod_spatialite.dylib'
|
||||
|
||||
.. _Homebrew: http://brew.sh/
|
||||
.. _Homebrew: https://brew.sh/
|
||||
|
||||
@@ -278,7 +278,7 @@ A more useful index is a ``GIN`` index, which you should create using a
|
||||
similar to PostgreSQL's ``text`` type.
|
||||
|
||||
.. _citext: https://www.postgresql.org/docs/current/static/citext.html
|
||||
.. _the performance considerations: https://www.postgresql.org/docs/current/static/citext.html#AEN169274
|
||||
.. _the performance considerations: https://www.postgresql.org/docs/current/static/citext.html#AEN178177
|
||||
|
||||
``HStoreField``
|
||||
===============
|
||||
|
||||
@@ -8,7 +8,7 @@ The sitemap framework
|
||||
Django comes with a high-level sitemap-generating framework that makes
|
||||
creating sitemap_ XML files easy.
|
||||
|
||||
.. _sitemap: http://www.sitemaps.org/
|
||||
.. _sitemap: https://www.sitemaps.org/
|
||||
|
||||
Overview
|
||||
========
|
||||
@@ -226,7 +226,7 @@ Note:
|
||||
default priority of a page is ``0.5``. See the `sitemaps.org
|
||||
documentation`_ for more.
|
||||
|
||||
.. _sitemaps.org documentation: http://www.sitemaps.org/protocol.html#prioritydef
|
||||
.. _sitemaps.org documentation: https://www.sitemaps.org/protocol.html#prioritydef
|
||||
|
||||
.. attribute:: Sitemap.protocol
|
||||
|
||||
@@ -244,7 +244,7 @@ Note:
|
||||
This attribute defines the maximum number of URLs included on each page
|
||||
of the sitemap. Its value should not exceed the default value of
|
||||
``50000``, which is the upper limit allowed in the `Sitemaps protocol
|
||||
<http://www.sitemaps.org/protocol.html#index>`_.
|
||||
<https://www.sitemaps.org/protocol.html#index>`_.
|
||||
|
||||
.. attribute:: Sitemap.i18n
|
||||
|
||||
@@ -460,7 +460,7 @@ generate a Google News compatible sitemap:
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset
|
||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns="https://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
|
||||
{% spaceless %}
|
||||
{% for url in urlset %}
|
||||
|
||||
Reference in New Issue
Block a user