Re: Invalid block tag with Inclusion Tag

2013-05-13 Thread Tom Evans
On Mon, May 13, 2013 at 5:08 PM, Bill Freeman wrote: > Don't you need to reference it by the function name: > "show_popular_keywords"? > Or provide a name when registering the tag: @register.inclusion_tag('keywords/popular_keywords.html', name='popular_keywords') def show_popular_keywords(): …

Re: Invalid block tag with Inclusion Tag

2013-05-13 Thread Bill Freeman
Don't you need to reference it by the function name: "show_popular_keywords"? On Sat, May 11, 2013 at 2:26 AM, wrote: > I am attempting to create a fairly straightforward inclusion tag out of > nothing more than a hardcoded dictionary of keywords. My app is set up like > this: > > *apps* > * k

Invalid block tag with Inclusion Tag

2013-05-11 Thread neil
I am attempting to create a fairly straightforward inclusion tag out of nothing more than a hardcoded dictionary of keywords. My app is set up like this: *apps* * keywords* *templatetags* *__init__.py* *popular_keyword_tags.py* *__init__.py* * __init__.py* I have inclu