Django Custom Inclusion Tags

后端 未结 4 524
太阳男子
太阳男子 2021-01-19 01:33

I\'m trying to build my own template tags. I have no idea why I getting these errors. I\'m following the Django doc\'s.

This is my app\'s file structure:

         


        
4条回答
  •  情话喂你
    2021-01-19 02:11

    I'd not bother with writing your own template tags: take things one step at a time and stick to the basics for now. There's nothing wrong with {% include 'show_pollquiz.html' %}

提交回复
热议问题