From 2dd85338b894353d74cac7804ba084313442336a Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 14 Aug 2022 07:22:44 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - docs/customization.rst - docs/differences.rst - floppyforms/static/floppyforms/js/MapWidget.js Fixes: - Should read `seamlessly` rather than `seemlesly`. - Should read `returned` rather than `returnes`. - Should read `attributes` rather than `attibutes`. Signed-off-by: Tim Gates --- docs/customization.rst | 2 +- docs/differences.rst | 2 +- floppyforms/static/floppyforms/js/MapWidget.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/customization.rst b/docs/customization.rst index 8a3bfec..7f2f98f 100644 --- a/docs/customization.rst +++ b/docs/customization.rst @@ -88,7 +88,7 @@ extend ``get_context_data()`` which doesn't take any arguments:: Altering the widget's ``attrs`` ------------------------------- -All widget attibutes except for ``type``, ``name``, ``value`` and ``required`` +All widget attributes except for ``type``, ``name``, ``value`` and ``required`` are put in the ``attrs`` context variable, which you can extend in ``get_context()``: diff --git a/docs/differences.rst b/docs/differences.rst index 3bc071c..edf4dab 100644 --- a/docs/differences.rst +++ b/docs/differences.rst @@ -103,7 +103,7 @@ ModelForms Prior to version 1.2 of django-floppyforms, you had to take some manual efforts to make your modelforms work with floppyforms. This is now done -seemlesly, but since this was introduced a backwards incompatible change, it +seamlessly, but since this was introduced a backwards incompatible change, it was necessary to provde a deprecation path. So if you start out new with django-floppyforms just use ``import diff --git a/floppyforms/static/floppyforms/js/MapWidget.js b/floppyforms/static/floppyforms/js/MapWidget.js index 9a7dbe8..8a45b9d 100644 --- a/floppyforms/static/floppyforms/js/MapWidget.js +++ b/floppyforms/static/floppyforms/js/MapWidget.js @@ -22,7 +22,7 @@ OpenLayers.Util.properFeatures = function(features, geom_type) { /** * Class: OpenLayers.Format.DjangoWKT * Class for reading Well-Known Text, with workarounds to successfully parse - * geometries and collections as returnes by django.contrib.gis.geos. + * geometries and collections as returned by django.contrib.gis.geos. * * Inherits from: * -