Django's Inclusion Tags
 

I'm working on an Inclusion Tag. In the super shell, the tag returns the appropiate data set nevertheles, I dont see the inclusion template rendered on the calling template. I can only guess the inclusion template is in the wrong location. As of this moment, the template is at MYPROJECT/templates which is the ONLY folder in TEMPLATE_DIRS. Please help me figure out what am I doing wrong here. TIA!

MYPROJECT/newsroom/templatetags/blog_extras.py -> pastebin.com/ssuLuVUq

MYPROJECT/settings.py -> pastebin.com/Ed53qp5z

MYPROJECT/templates/featured_posts.html -> pastebin.com/svyveqq3

MYPROJECT/templates/blog/blog_post_list.html -> pastebin.com/tJedXjnT

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