mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Tweaked the description and example of the template tag
This commit is contained in:
parent
7ca8f904ab
commit
a8a91de6fa
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue