Django

Code

Show
Ignore:
Timestamp:
10/30/06 14:50:27 (2 years ago)
Author:
adrian
Message:

Fixed #2968 -- Changed arguments to import to use empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda

Files:

Legend:

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

    r2809 r3951  
    33for a in settings.INSTALLED_APPS: 
    44    try: 
    5         __path__.extend(__import__(a + '.templatetags', '', '', ['']).__path__) 
     5        __path__.extend(__import__(a + '.templatetags', {}, {}, ['']).__path__) 
    66    except ImportError: 
    77        pass