A Django app for small analysis
Project description
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.
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
File details
Details for the file django-web-analysis-0.1.tar.gz.
File metadata
- Download URL: django-web-analysis-0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ec864bcacaf0a17a694e6f4bfe0a8c7f057f8e350cdadf59491e059d5d63501
|
|
| MD5 |
f31a57d3a097735434c0ad6205396395
|
|
| BLAKE2b-256 |
df8c03b94d33944a18bb829056c8f4e327203c771449ba8539c06ef482745a05
|