I have determined the source of my problem. It was an inheriting
template defining a block and shadowing the parent block in which my
tag was called.
On Jun 27, 1:44 pm, Kevin Tonon <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using Django 0.91
>
> More or less, this is what I
Hi,
I'm using Django 0.91
More or less, this is what I'm doing:
appname/templatetags/app_extras.py:
from django.core.template import Library, Node
register = Library()
class MyNode(Node):
def __init__(self, foo):
self.foo = foo
print 'foo' * 100
def render(self,
2 matches
Mail list logo