Django

Code

Show
Ignore:
Timestamp:
05/01/06 20:31:56 (3 years ago)
Author:
adrian
Message:

MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.

Files:

Legend:

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

    r3 r2809  
    1 from django.conf.settings import INSTALLED_APPS 
     1from django.conf import settings 
    22 
    3 for a in INSTALLED_APPS: 
     3for a in settings.INSTALLED_APPS: 
    44    try: 
    55        __path__.extend(__import__(a + '.templatetags', '', '', ['']).__path__)