Django

Code

Changeset 6903

Show
Ignore:
Timestamp:
12/09/07 04:18:56 (1 year ago)
Author:
mtredinnick
Message:

Fixed #6147 -- Typo fix (that amazingly didn't stop the code working) in the code for loading a database module. Thanks, guido@python.org.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/__init__.py

    r6316 r6903  
    3535 
    3636def _import_database_module(import_path='', module_name=''): 
    37     """Lazyily import a database module when requested.""" 
    38     return __import__('%s%s.%s' % (_import_path, settings.DATABASE_ENGINE, module_name), {}, {}, ['']) 
     37    """Lazily import a database module when requested.""" 
     38    return __import__('%s%s.%s' % (import_path, settings.DATABASE_ENGINE, module_name), {}, {}, ['']) 
    3939 
    4040# We don't want to import the introspect/creation modules unless