Tweaked the description and example of the template tag

This commit is contained in:
Corey Oordt 2009-08-28 09:45:04 -04:00
parent 7ca8f904ab
commit a8a91de6fa

View file

@ -48,8 +48,8 @@ def get_category(parser, token):
Example::
{% get_category "/agriculture/dairy" as dairy %}
{% get_category "/Rock" as rock %}
{% get_category "/Rock/C-Rock" as crock %}
"""
bits = token.contents.split()
error_str = '%(tagname)s tag should be in the format {%% %(tagname)s ' \