django inclusion tags
 

Hello everyone. I wrote the inclusion tag "featured_posts_list" that lives in "PROJECT/newsroom/blog_extras.py" pastebin.com/gueT0M9G, shown in line 86 of the project's tree at pastebin.com/uFQ5sKFt. The tag's render template "PROJECT/template/include/featured_posts.html" pastebin.com/eB7T3772 is on line 195 of the tree at pastebin.com/uFQ5sKFt. I'm using mezzanine and, since my site is blog centric, I'm using "PROJECT/templates/blog/blog_post_list.html" pastebin.com/4NhA76BZ for my home page. The inclusion tag is used in line 80. To the best of my knowledge, I followed the instructions in the documentation yet; I am getting "TemplateSyntaxError: Invalid tag" at the line where the inclusion tag is used in my template. Please help me figure this out. Thanks in advanced!

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
nimbiotics's avatar
25
nimbiotics
asked 11 years ago

Comments

see more comments