Skip to content

Commit

Permalink
docs: Fix a few typos
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
timgates42 committed Aug 13, 2022
1 parent be03760 commit 2dd8533
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/customization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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()``:

Expand Down
2 changes: 1 addition & 1 deletion docs/differences.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion floppyforms/static/floppyforms/js/MapWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
* - <OpenLayers.Format.WKT>
Expand Down

0 comments on commit 2dd8533

Please sign in to comment.