Commit 1dcc603e authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Fixed several typos in Django

parent e79725cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ ABSOLUTE_URL_OVERRIDES = {}
# Example: ('/home/html', '/var/www')
ALLOWED_INCLUDE_ROOTS = ()

# If this is a admin settings module, this should be a list of
# If this is an admin settings module, this should be a list of
# settings modules (in the format 'foo.bar.baz') for which this admin
# is an admin.
ADMIN_FOR = ()
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ class NoBackendsTest(TestCase):
@skipIfCustomUser
class InActiveUserBackendTest(TestCase):
    """
    Tests for a inactive user
    Tests for an inactive user
    """
    backend = 'django.contrib.auth.tests.test_auth_backends.SimpleRowlevelBackend'

+1 −1
Original line number Diff line number Diff line
@@ -229,7 +229,7 @@ class CreatesuperuserManagementCommandTestCase(TestCase):
        self.assertEqual(command_output, 'Superuser created successfully.')

    def test_verbosity_zero(self):
        # We can supress output on the management command
        # We can suppress output on the management command
        new_io = six.StringIO()
        call_command(
            "createsuperuser",
+2 −2
Original line number Diff line number Diff line
@@ -369,13 +369,13 @@ class WizardView(TemplateView):
        """
        Returns a dictionary which will be passed to the form for `step`
        as `initial`. If no initial data was provided while initializing the
        form wizard, a empty dictionary will be returned.
        form wizard, an empty dictionary will be returned.
        """
        return self.initial_dict.get(step, {})

    def get_form_instance(self, step):
        """
        Returns a object which will be passed to the form for `step`
        Returns an object which will be passed to the form for `step`
        as `instance`. If no instance object was provided while initializing
        the form wizard, None will be returned.
        """
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ class OracleOperations(DatabaseOperations, BaseSpatialOperations):
        "Returns the SQL WHERE clause for use in Oracle spatial SQL construction."
        geo_col, db_type = lvalue

        # See if a Oracle Geometry function matches the lookup type next
        # See if an Oracle Geometry function matches the lookup type next
        lookup_info = self.geometry_functions.get(lookup_type, False)
        if lookup_info:
            # Lookup types that are tuples take tuple arguments, e.g., 'relate' and
Loading