Commit a71a2ea7 authored by Veres Lajos's avatar Veres Lajos Committed by Tim Graham
Browse files
parent 7b420367
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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.
+1 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
"""
  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
+1 −1
Original line number Diff line number Diff line
@@ -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?)
Loading