Django analytics is an app that can help you with a little analysis like who viewed what, when.
Quick start
Add “analyse” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'analyse', ]Import the “ObjectViewedMixin” class like this:
from analyse.mixins import ObjectViewedMixin
Then add the imported class any class based detail view like this:
class BlogDetail(DetailView, ObjectViewedMixin): ...
You can view the data from your admin panel and you can also pull and use information from your code base.
Release files for django-web-analysis 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-web-analysis-0.1.tar.gz | 3.9 kB | Details |
Release files / django-web-analysis-0.1.tar.gz
| Download URL | django-web-analysis-0.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ec864bcacaf0a17a694e6f4bfe0a8c7f057f8e350cdadf59491e059d5d63501
|
|
BLAKE2b-256 checksum How to use checksums |
df8c03b94d33944a18bb829056c8f4e327203c771449ba8539c06ef482745a05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7
|