Re: templatetags and import path

2008-02-05 Thread Brian Luft
If I'm correct in my diagnosis, what's happening is that the django.templatetags package is altering the import path: #from django.templatetags.__init__.py for a in settings.INSTALLED_APPS: try: __path__.extend(__import__(a + '.templatetags', {}, {}, ['']).__path__) except ImportE

Re: templatetags and import path

2008-02-04 Thread Julien
Hi Brian, I'm facing a similar issue, which is being discussed here: http://groups.google.com/group/django-users/browse_thread/thread/0ce299d4922461f0/3cf7427097e67153#3cf7427097e67153 I am as surprised as you are by this behaviour... On Feb 5, 11:52 am, Brian Luft <[EMAIL PROTECTED]> wrote: >

templatetags and import path

2008-02-04 Thread Brian Luft
Hello, I'm setting up James Bennett's Coltrane app (yes I'm aware that it is released as is, with no guarantees). I wrote a templatetag that intends to pull all the Links instances and make them available to the render context. However, in the tag file, something funny seems to happen with the