Usage¶
To use Django page hits in a project:
- Add ‘django_page_hits’ at the end of INSTALLED_APPS.
- Add ‘django_page_hits.middleware.PageHitsMiddleware’ to end of MIDDLEWARE_CLASSES.
- Run python manage.py syncdb or python manage.py migrate.
- A new app is registered to admin panel.