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 hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page