Hi everyone,

I have a template tag directory:

templatetags/
|-__init__.py
|-all.py
|-contrib.py
|-forms.py
|-menus.py
|-sites.py
`-utils.py

And I tried to use all.py "{% load all %}" as a shortcut for including
all of these:

# all.py
from contrib import *
from forms import *
from menus import *
from sites import *
from utils import *

However, none of the template tags are available. I imagine this has
something to do {% load %} using the module's register variable to
load in tags (if the error raised by omitting "register" is any
indication), and here the register variables would clash.

Is there some way to use a single template library to include many?

Thanks,
Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to