chartit / django-chartit

A Django app to plot charts and pivot charts directly from the models. Uses HighCharts and jQuery JavaScript libraries to render the charts on the webpage.
http://django-chartit.mrsenko.com/
Other
492 stars 164 forks source link

django.utils.six #65

Open funksen opened 3 years ago

funksen commented 3 years ago

Hi, you are using six modules not compatible with django 3 one import broke my site, and I managed to fix it,

it's in chartit/templatetags/chartit.py,

import itertools instead of six, and change line 84:

for hco, render_to in six.zip_longest(

for hco, render_to in itertools.zip_longest(