diff options
| author | Veres Lajos <vlajos@gmail.com> | 2014-11-03 22:48:03 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-03 20:59:30 -0500 |
| commit | a71a2ea756673cd3c7a2c5125fa7e7f334b05475 (patch) | |
| tree | 61cff2d319c13011d004d0f008fe1957fd773651 /django | |
| parent | 7b420367524ad9f29b8bf0284f4b40bd6cfc8b93 (diff) | |
Fixed typos using https://github.com/vlajos/misspell_fixer
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/admin/static/admin/js/SelectFilter2.js | 2 | ||||
| -rw-r--r-- | django/contrib/auth/tests/test_forms.py | 2 | ||||
| -rw-r--r-- | django/contrib/gis/db/models/sql/query.py | 2 | ||||
| -rw-r--r-- | django/contrib/gis/gdal/srs.py | 2 | ||||
| -rw-r--r-- | django/core/serializers/xml_serializer.py | 2 | ||||
| -rw-r--r-- | django/db/models/fields/related.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/admin/static/admin/js/SelectFilter2.js b/django/contrib/admin/static/admin/js/SelectFilter2.js index 4f6f2b7ebf..6c8a4b4453 100644 --- a/django/contrib/admin/static/admin/js/SelectFilter2.js +++ b/django/contrib/admin/static/admin/js/SelectFilter2.js @@ -15,7 +15,7 @@ function findForm(node) { window.SelectFilter = { init: function(field_id, field_name, is_stacked, admin_static_prefix) { if (field_id.match(/__prefix__/)){ - // Don't intialize on empty forms. + // Don't initialize on empty forms. return; } var from_box = document.getElementById(field_id); diff --git a/django/contrib/auth/tests/test_forms.py b/django/contrib/auth/tests/test_forms.py index 8b44437800..0c13e8af74 100644 --- a/django/contrib/auth/tests/test_forms.py +++ b/django/contrib/auth/tests/test_forms.py @@ -385,7 +385,7 @@ class PasswordResetFormTest(TestCase): self.assertFalse(form.is_valid()) self.assertEqual(form['email'].errors, [_('Enter a valid email address.')]) - def test_nonexistant_email(self): + def test_nonexistent_email(self): """ Test nonexistent email address. This should not fail because it would expose information about registered users. diff --git a/django/contrib/gis/db/models/sql/query.py b/django/contrib/gis/db/models/sql/query.py index d5a7f819c8..7e7715c682 100644 --- a/django/contrib/gis/db/models/sql/query.py +++ b/django/contrib/gis/db/models/sql/query.py @@ -12,7 +12,7 @@ class GeoQuery(sql.Query): """ A single spatial SQL query. """ - # Overridding the valid query terms. + # Overriding the valid query terms. query_terms = QUERY_TERMS | set(GeometryField.class_lookups.keys()) aggregates_module = gis_aggregates diff --git a/django/contrib/gis/gdal/srs.py b/django/contrib/gis/gdal/srs.py index 71052b25e9..548a3cd0ea 100644 --- a/django/contrib/gis/gdal/srs.py +++ b/django/contrib/gis/gdal/srs.py @@ -1,5 +1,5 @@ """ - The Spatial Reference class, represensents OGR Spatial Reference objects. + The Spatial Reference class, represents OGR Spatial Reference objects. Example: >>> from django.contrib.gis.gdal import SpatialReference diff --git a/django/core/serializers/xml_serializer.py b/django/core/serializers/xml_serializer.py index a23e74454f..de82a969c1 100644 --- a/django/core/serializers/xml_serializer.py +++ b/django/core/serializers/xml_serializer.py @@ -187,7 +187,7 @@ class Deserializer(base.Deserializer): m2m_data = {} model_fields = Model._meta.get_all_field_names() - # Deseralize each field. + # Deserialize each field. for field_node in node.getElementsByTagName("field"): # If the field is missing the name attribute, bail (are you # sensing a pattern here?) diff --git a/django/db/models/fields/related.py b/django/db/models/fields/related.py index 69934c037a..428acd690d 100644 --- a/django/db/models/fields/related.py +++ b/django/db/models/fields/related.py @@ -1776,7 +1776,7 @@ class ForeignKey(ForeignObject): params={ 'model': self.rel.to._meta.verbose_name, 'pk': value, 'field': self.rel.field_name, 'value': value, - }, # 'pk' is included for backwards compatibilty + }, # 'pk' is included for backwards compatibility ) def get_attname(self): |
