user1995098
user1995098

Reputation: 183

'chartit' is not a valid tag library

I am using chartit to plot charts in my django website application, here is what I have in my template:

{% load chartit %}
{{ chart|load_charts:"container" }}

but when I want to render the template, I get the following error:

'chartit' is not a valid tag library: Template library chartit not found, tried django.templatetags.chartit,django.contrib.staticfiles.templatetags.chartit,django.contrib.admin.templatetags.chartit

Any help would be appreciated a lot! :)

Upvotes: 2

Views: 1482

Answers (1)

Daniel Roseman
Daniel Roseman

Reputation: 599580

You need to add chartit to your INSTALLED_APPS setting.

Upvotes: 7

Related Questions