Simple Django page hit counter
Project description
django_page_hit_counter
A simple Django app to count and display page hits (views) for any Django model instance. It's fast, lightweight, and easy to integrate.
Features
- Tracks unique and total hits for any model object (e.g., Post, Page, Product).
- Provides a simple template tag to display counts.
- Includes a mixin to easily register hits in your class-based views.
- Lightweight and minimal dependencies.
Step-by-Step Implementation
Follow these steps to get your page hit counter working in minutes.
1. Installation
Install the package using pip:
pip install django-page-hit-counter
## Developed by Nimisha Davis
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_page_hit_counter-0.1.tar.gz.
File metadata
- Download URL: django_page_hit_counter-0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd3943d1925f540e600c5ea509b4e3857f3f1e07f3c03a121a1a03d090d7059d
|
|
| MD5 |
5a20321be025c72bcb6e5b820e7062f0
|
|
| BLAKE2b-256 |
fc600fa50c681bd67e36a27890d32236f530ff2a61c0343476ec94c87509b667
|
File details
Details for the file django_page_hit_counter-0.1-py3-none-any.whl.
File metadata
- Download URL: django_page_hit_counter-0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b1640624103b634699165681cb2ce83a96aac1b9339ba50d5b03af4b2f6440
|
|
| MD5 |
a160ce0d13a537e462862d9eea3e4d45
|
|
| BLAKE2b-256 |
753989e737f676469faf727febb82a2c8f2ec56465774fb65d7c209e34b7bdc3
|