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():
…
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
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
3 matches
Mail list logo