|
Revision 3951, 194 bytes
(checked in by adrian, 2 years ago)
|
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
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
LastChangedRevision
|
| Line | |
|---|
| 1 |
from django.conf import settings |
|---|
| 2 |
|
|---|
| 3 |
for a in settings.INSTALLED_APPS: |
|---|
| 4 |
try: |
|---|
| 5 |
__path__.extend(__import__(a + '.templatetags', {}, {}, ['']).__path__) |
|---|
| 6 |
except ImportError: |
|---|
| 7 |
pass |
|---|