thornomad/django-hitcount — pull request #24 by inoks (2012-12-10 07:38:06+00:00)
Title: check for exception and remove HitCount duplicates

Because hitcount using a models.TextField() for `object_pk`
to allow *any* primary key type (integer or text),
it can't use `unique_together` or `unique=True` to gaurantee
that only one HitCount object exists for a given object.

So lets check for exception and remove duplicates