Version 1.2:

  • added hitcount.models.HitCountMixin to provide a reverse lookup property to a model’s HitCount
  • deprecated hitcount.views_update_hit_count() and moved the business logic into hitcount.views.HitCountMixin.hit_count()
  • deprecated hitcount.views.update_hit_count_ajax() and replaced with class-based view hitcount.views.HitCountJSONView
  • deprecated static/hitcount-jquery.js and replaced with static/jquery.postcsrf.js (a more generic way to handle the Ajax POST CSRF fun-party)
  • updated Django and Python version testing/support (>=1.7 as of Oct 2015)
  • updated example_project to use new views and jQuery plugin
  • updated tests to rely on the example_project

Version 1.1.1:

  • fixed session_key returning None #40 (>=1.8.4)
  • removed requirement for SESSION_SAVE_EVERY_REQUEST
  • removed patterns for (>=1.9)
  • updated management command, using BaseCommand instead of NoArgsCommand (>=1.9)
  • added TEMPLATES to

Version 1.1.0:

  • added tests (lots of them)
  • added documentation
  • support for Django 1.4.x - 1.8.x
  • support for Python 3.x
  • created an example project
  • squashed bugs
  • released to pip
  • more, I’m sure!


if you are upgrading from version 0.2 (it’s so old!) the HitCount.object_pk was changed from a CharField to a PositiveIntegerField. You will have to manually fix this in your database after upgrading.