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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page