Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Django Mode Analytics Whitelabel

Project description

Django Mode Analytics

This project was only tested on PostgreSQL

How it works

Installation

  • Requirements
    • Django and pyscopg2
    pip install modeanalytics

Configuration

You must set the follow vars in your django settings

    MODE_ORG: str = ""
    MODE_ACCESS_KEY: str = ""
    MODE_ACCESS_SECRET: str = ""

To generate these signature tokens, please look at Mode Support

Add modeanalytics in your INSTALLED_APPS tuple

    INSTALLED_APPS = [
        "django.contrib.admin",
        "django.contrib.auth",
        "django.contrib.contenttypes",
        "django.contrib.sessions",
        "django.contrib.messages",
        "django.contrib.staticfiles",
        "modeanalytics",
    ]

Package build

Bumping version, options are major, minor and patch.

    bumpversion patch setup.py modeanalytics/__init__.py

Preparing the package

    python setup.py sdist bdist_wheel

Checking if the package is good enough to PyPi

    twine check dist/*

Uploading the package to PyPi

    twine upload dist/*

Project details


Download files

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

Files for modeanalytics, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size modeanalytics-0.1.3-py3-none-any.whl (9.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size modeanalytics-0.1.3.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page