Django: 'current_tags' is not a valid tag library

前端 未结 17 2818
悲&欢浪女
悲&欢浪女 2020-12-23 18:41

I have a small Django project I received from a friend. The code works perfectly on his system. However, on my system I get the following error message when running the serv

17条回答
  •  鱼传尺愫
    2020-12-23 19:10

    For me, it was the mistake of putting quotes around the library name in load tag.

    WRONG: {% load 'library_name' %}

    CORRECT: {% load library_name %}

    Refer to other answers too. I solved a couple of those problems too before landing here.

提交回复
热议问题