votizen/django-kissmetrics — Issue #2: ImportError when executing "from django_kissmetrics import KISSMetricTask, queue_kissmetrics_task"
Author: schickm
Created: 2011-12-05 00:17:55+00:00
State: open

The documentation says to import the following when wanting server-side to client-side tracking:

from django_kissmetrics import KISSMetricTask, queue_kissmetrics_task

But for me it triggers an import error of "cannot import name KISSMetricTask". I assume this is because these things are in base.py, so what works for me is:

from django_kissmetrics.base import KISSMetricTask, queue_kissmetrics_task