Skip to content

Commit 5a27898

Browse files
authored
Merge pull request #366 from timgates42/bugfix_typos
docs: Fix a few typos
2 parents 1fdd2ab + dae1e33 commit 5a27898

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

client/src/js/djng-rmi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var djng_rmi_module = angular.module('djng.rmi', []);
1010
// by $http.get() and $http.post().
1111
// Usage:
1212
// djangoRMI.name.method(data).success(...).error(...)
13-
// @param data (optional): If set and @allowd_action was auto, then the call is performed as method
13+
// @param data (optional): If set and @allowed_action was auto, then the call is performed as method
1414
// POST. If data is unset, method GET is used. data must be a valid JavaScript object or undefined.
1515
djng_rmi_module.provider('djangoRMI', function() {
1616
var remote_methods, http;

djng/forms/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def render(self, name, value, attrs=None, renderer=None):
3535
final_attrs = self.build_attrs(self.attrs, extra_attrs=extra_attrs)
3636
elements = [format_html('<textarea {}>{}</textarea>', flatatt(final_attrs), self.area_label)]
3737

38-
# add a spinnging wheel
38+
# add a spinning wheel
3939
spinner_attrs = {
4040
'class': 'glyphicon glyphicon-refresh glyphicon-spin',
4141
'ng-cloak': True,

djng/sekizai_processors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
To be used in Sekizai's render_block to postprocess AngularJS module dependenies
2+
To be used in Sekizai's render_block to postprocess AngularJS module dependencies
33
"""
44

55
import warnings

docs/basic-crud-operations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ By default, ``NgCRUDView`` maps the request to the corresponding django-angular
128128
the ``ng_delete`` method.
129129

130130
``allowed_methods`` is set by default to ``['GET', 'POST', 'DELETE']``.
131-
If you need to prevent any method, you can overrride the ``allowed_methods`` attributes. Alternatively, you can use the ``exclude_methods`` attributes.
131+
If you need to prevent any method, you can override the ``allowed_methods`` attributes. Alternatively, you can use the ``exclude_methods`` attributes.
132132

133133

134134
``exclude_methods``

docs/demos.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ a different constraint:
8888
* *Last name* must start with a capital letter.
8989
* *E-Mail* must be a valid address.
9090
* *Phone number* can start with ``+`` and may contain only digits, spaces and dashes.
91-
* *Birth date* must be a vaild date.
91+
* *Birth date* must be a valid date.
9292
* *Weight* must be an integer between 42 and 95.
9393
* *Height* must be a float value between 1.48 and 1.95.
9494

docs/upload-files.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ input field, which immediately displays the uploaded image. By adding two third
2323
By replacing Django's form fields ``FileField`` against :class:`djng.forms.fields.FileField` and
2424
``ImageField`` against :class:`djng.forms.fields.ImageField`, the corresponding form field is
2525
rendered as a rectangular area, where one can drag a file or image onto, and drop it. It then is
26-
uploaded immediately to the server, which keeps it in a temporary folder and returns a thumbail
26+
uploaded immediately to the server, which keeps it in a temporary folder and returns a thumbnail
2727
of that file/image together with a reference onto a temporary representation.
2828

2929
In the next step, when the user submits the form, only the reference to that temporary file is

0 commit comments

Comments
 (0)