Hi,

I have a (one folder) PyInstaller build script thats pretty much
working. Its built from a Django app as per the instructions on the
wiki.

I'm having a problem using a template that has a custom template tag
library. I get the following error from Django:

'apps' is not a valid tag library: Could not load template library
from django.templatetags.apps, No module named
django.templatetags.apps

when running {% load apps %} in the template.

It works locally, using runserver.

Django uses this machinery to load the template tags when its first
started:

from django.conf import settings
from django.utils import importlib

for a in settings.INSTALLED_APPS:
    try:
        __path__.extend(importlib.import_module('.templatetags',
a).__path__)
    except ImportError:
        pass

Is there something specific I need to do to make this work?

In my bootstrap script I've imported the tag library, so the Analysis
should pick it up.

Any advice you can offer would be greatly appreciated.

Cheers,
Chris

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to