Commit 47c75532 authored by Julien Phalip's avatar Julien Phalip
Browse files

Fixed a number of minor misspellings.

parent ca39c0a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ class SimpleListFilter(ListFilter):

    def lookups(self, request, model_admin):
        """
        Must be overriden to return a list of tuples (value, verbose value)
        Must be overridden to return a list of tuples (value, verbose value)
        """
        raise NotImplementedError

+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ from django.contrib.formtools.wizard.forms import ManagementForm

def normalize_name(name):
    """
    Converts camel-case style names into underscore seperated words. Example::
    Converts camel-case style names into underscore separated words. Example::

        >>> normalize_name('oneTwoThree')
        'one_two_three'
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ class GeoIPRecord(Structure):
                ('longitude', c_float),
                # TODO: In 1.4.6 this changed from `int dma_code;` to
                # `union {int metro_code; int dma_code;};`.  Change
                # to a `ctypes.Union` in to accomodate in future when
                # to a `ctypes.Union` in to accommodate in future when
                # pre-1.4.6 versions are no longer distributed.
                ('dma_code', c_int),
                ('area_code', c_int),
+1 −1
Original line number Diff line number Diff line
@@ -146,7 +146,7 @@ def call_command(name, *args, **options):

    # Grab out a list of defaults from the options. optparse does this for us
    # when the script runs from the command line, but since call_command can
    # be called programatically, we need to simulate the loading and handling
    # be called programmatically, we need to simulate the loading and handling
    # of defaults (see #10080 for details).
    defaults = {}
    for opt in klass.option_list:
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ class Command(BaseCommand):
        make_option('-a', '--all', action='store_true', dest='use_base_manager', default=False,
            help="Use Django's base manager to dump all models stored in the database, including those that would otherwise be filtered or modified by a custom manager."),
        make_option('--pks', dest='primary_keys', help="Only dump objects with "
            "given primary keys. Accepts a comma seperated list of keys. "
            "given primary keys. Accepts a comma separated list of keys. "
            "This option will only work when you specify one model."),
    )
    help = ("Output the contents of the database as a fixture of the given "
Loading