Alex Rivera | Logout

Django: 'current_tags' is not a valid tag library

Asked 2011-03-30T23:45:28.793
80

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 server:

TemplateSyntaxError at /

'current_tags' is not a valid tag library: Template library current_tags not found, tried django.templatetags.current_tags

The problem is with a line in an html file:

{% load current_tags %}

This exact same code works on his system with no errors. What could that be?

Edit
Report

1 Answer

64

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.
answered 2012-10-09T18:21:29.723

Your Answer