summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-10 14:25:44 +0100
committerGitHub <noreply@github.com>2023-01-10 14:25:44 +0100
commitd4b4c1cae441230e5622163a42ef491588f2b868 (patch)
treeedf9a03b34b6bd1260b81a4c9b4c31f3a3c226ec /docs/ref
parent552384fa977901dcbc33cc999cd38dddcdc0eef1 (diff)
Corrected used JS libraries in GIS widget docs.
Follow up to 1833eb3f3e3bda5052637f1a51a27fa1b11b6871.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/contrib/gis/forms-api.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/contrib/gis/forms-api.txt b/docs/ref/contrib/gis/forms-api.txt
index 9ac224a76e..bb0893df76 100644
--- a/docs/ref/contrib/gis/forms-api.txt
+++ b/docs/ref/contrib/gis/forms-api.txt
@@ -157,11 +157,11 @@ Widget classes
This is the default widget used by all GeoDjango form fields.
``template_name`` is ``gis/openlayers.html``.
- ``OpenLayersWidget`` and :class:`OSMWidget` use the ``openlayers.js`` file
- hosted on the ``cdnjs.cloudflare.com`` content-delivery network. You can
- subclass these widgets in order to specify your own version of the
- ``OpenLayers.js`` file in the ``js`` property of the inner ``Media`` class
- (see :ref:`assets-as-a-static-definition`).
+ ``OpenLayersWidget`` and :class:`OSMWidget` use the ``ol.js`` file hosted
+ on the ``cdn.jsdelivr.net`` content-delivery network. You can subclass
+ these widgets in order to specify your own version of the ``ol.js`` file in
+ the ``js`` property of the inner ``Media`` class (see
+ :ref:`assets-as-a-static-definition`).
``OSMWidget``