Changelog¶
Version 1.2:¶
- added
hitcount.models.HitCountMixinto provide a reverse lookup property to a model’sHitCount- deprecated
hitcount.views_update_hit_count()and moved the business logic intohitcount.views.HitCountMixin.hit_count()- deprecated
hitcount.views.update_hit_count_ajax()and replaced with class-based viewhitcount.views.HitCountJSONView- deprecated
static/hitcount-jquery.jsand replaced withstatic/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_keyreturningNone#40 (>=1.8.4)- removed requirement for SESSION_SAVE_EVERY_REQUEST
- removed patterns for urls.py (>=1.9)
- updated management command, using
BaseCommandinstead ofNoArgsCommand(>=1.9)- added
TEMPLATESto conftest.py
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!
Note
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.