Django

Code

Changeset 2687

Show
Ignore:
Timestamp:
04/12/06 08:35:31 (3 years ago)
Author:
adrian
Message:

Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/admin/templatetags/admin_list.py

    r2649 r2687  
    8080                header = lookup_opts.verbose_name 
    8181            else: 
    82                 func = getattr(cl.mod.Klass, field_name) # Let AttributeErrors propogate. 
     82                func = getattr(cl.mod.Klass, field_name) # Let AttributeErrors propagate. 
    8383                try: 
    8484                    header = func.short_description 
  • django/trunk/django/core/meta/fields.py

    r2650 r2687  
    8181# A guide to Field parameters: 
    8282# 
    83 #   * name:      The name of the field specifed in the model. 
     83#   * name:      The name of the field specified in the model. 
    8484#   * attname:   The attribute to use on the model object. This is the same as 
    8585#                "name", except in the case of ForeignKeys, where "_id" is 
  • django/trunk/django/core/meta/__init__.py

    r2650 r2687  
    17341734                # Sanity check -- Make sure the "parent" object exists. 
    17351735                # For example, make sure the Place exists for the Restaurant. 
    1736                 # Let the ObjectDoesNotExist exception propogate up. 
     1736                # Let the ObjectDoesNotExist exception propagate up. 
    17371737                lookup_kwargs = opts.one_to_one_field.rel.limit_choices_to 
    17381738                lookup_kwargs['%s__exact' % opts.one_to_one_field.rel.field_name] = obj_key 
  • django/trunk/django/core/servers/basehttp.py

    r948 r2687  
    4747 
    4848# Regular expression that matches `special' characters in parameters, the 
    49 # existance of which force quoting of the parameter value. 
     49# existence of which force quoting of the parameter value. 
    5050tspecials = re.compile(r'[ \(\)<>@,;:\\"/\[\]\?=]') 
    5151 
  • django/trunk/django/utils/_threading_local.py

    r2580 r2687  
    150150 
    151151        # We need to create the thread dict in anticipation of 
    152         # __init__ being called, to make sire we don't cal it 
     152        # __init__ being called, to make sure we don't call it 
    153153        # again ourselves. 
    154154        dict = object.__getattribute__(self, '__dict__') 
  • django/trunk/docs/modpython.txt

    r2312 r2687  
    191191 
    192192When you use Apache/mod_python, errors will be caught by Django -- in other 
    193 words, they won't propogate to the Apache level and won't appear in the Apache 
     193words, they won't propagate to the Apache level and won't appear in the Apache 
    194194``error_log``. 
    195195 
  • django/trunk/tests/doctest.py

    r336 r2687  
    847847            globs.update(extraglobs) 
    848848 
    849         # Recursively expore `obj`, extracting DocTests. 
     849        # Recursively explore `obj`, extracting DocTests. 
    850850        tests = [] 
    851851        self._find(tests, obj, name, module, source_lines, globs, {}) 
     
    12111211        for examplenum, example in enumerate(test.examples): 
    12121212 
    1213             # If REPORT_ONLY_FIRST_FAILURE is set, then supress 
     1213            # If REPORT_ONLY_FIRST_FAILURE is set, then suppress 
    12141214            # reporting after the first failure. 
    12151215            quiet = (self.optionflags & REPORT_ONLY_FIRST_FAILURE and 
  • django/trunk/tests/othertests/cache.py

    r367 r2687  
    1616assert cache.get("key") == "value" 
    1717 
    18 # get with non-existant keys 
     18# get with non-existent keys 
    1919assert cache.get("does not exist") is None 
    2020assert cache.get("does not exist", "bang!") == "bang!" 
  • django/trunk/tests/testapp/models/basic.py

    r2392 r2687  
    196196API_TESTS += """ 
    197197 
    198 # You can manually specify the primary key when creating a new obje
     198# You can manually specify the primary key when creating a new objec
    199199>>> a101 = articles.Article(id=101, headline='Article 101', pub_date=datetime(2005, 7, 31, 12, 30, 45)) 
    200200>>> a101.save()