Django: 'current_tags' is not a valid tag library

前端 未结 17 2820
悲&欢浪女
悲&欢浪女 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:29

    Possibilities are many:

    1. You haven't reset your dev server.
    2. You have dependency loop in templatetag file.
    3. You misspelled something (directory, folder, template name in 'load', etc.).
    4. You forgot about adding the app to INSTALLED_APPS.

提交回复
热议问题