Skip to main content

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

  1. Add “analyse” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'analyse',
    ]
  2. Import the “ObjectViewedMixin” class like this:

    from analyse.mixins import ObjectViewedMixin
  3. 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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-web-analysis-0.1.tar.gz (3.9 kB view details)

Uploaded Source

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

Hashes for django-web-analysis-0.1.tar.gz
Algorithm Hash digest
SHA256 8ec864bcacaf0a17a694e6f4bfe0a8c7f057f8e350cdadf59491e059d5d63501
MD5 f31a57d3a097735434c0ad6205396395
BLAKE2b-256 df8c03b94d33944a18bb829056c8f4e327203c771449ba8539c06ef482745a05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page