jinjie2088 / django-tagging

Automatically exported from code.google.com/p/django-tagging
Other
0 stars 0 forks source link

Invalid block tag: 'tags_for_model' #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I try using this syntax in template

 {% tags_for_model [model] as [varname] %}

Invalid block tag: 'tags_for_model'

Request Method: GET
Request URL:    http://localhost:8000/
Exception Type: TemplateSyntaxError
Exception Value:    Invalid block tag: 'tags_for_model'
Exception 
Location:   /Library/Python/2.5/site-packages/django/template/__init__.py in 
invalid_block_tag, line 321

tagging is working in my project, but template tags seems not

i spent a lot of time by can't fix this problem

thank in advice

Original issue reported on code.google.com by dugan...@gmail.com on 21 Apr 2008 at 5:17

GoogleCodeExporter commented 9 years ago
the documenation did't say explisitly about

{% load tagging_tags %} in template where you whant use tagging tags

problem solved

Original comment by dugan...@gmail.com on 24 Apr 2008 at 6:13

GoogleCodeExporter commented 9 years ago

Original comment by jonathan.buchanan on 30 Oct 2008 at 2:43