Skip to main content

Django app to track generic events and keep records of unstructured data.

Project description

Django Spades can be used to keep track of things(events) that happen on your django and you want to track.

There is basically two usages:

1 - API

2 - Saving a record model

Quick start

  1. Install:

    pip install django-spades

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

    INSTALLED_APPS = [
        ...
        'Spades',
    ]
  2. Run python manage.py migrate to create the models.

Usage

You should see it under admin with a nice rendering of the json field

Using the Model:

from Spades.models import Event
tmp={}
tmp['User']=request.user.id
tmp['AnyTag']="Checkpoint 1"
tmp['Tag2'] = some_variable

event = Event(name="USER_CLICKED_A_BUTTON",info=json.dumps(tmp))

Project details


Download files

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

Source Distribution

django-spades-0.1.5.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

django_spades-0.1.5-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file django-spades-0.1.5.tar.gz.

File metadata

  • Download URL: django-spades-0.1.5.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for django-spades-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b4bb7172c7cb4a7bec4b96e60fa9f84bbdc53da44949c51116902515bd6ad295
MD5 99586abadbedaafa3c49a5988eeee707
BLAKE2b-256 e742d4b83bd871841073fed8e279e7bc6f16d9984bd4d659ed98320ff1b41b1a

See more details on using hashes here.

Provenance

File details

Details for the file django_spades-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: django_spades-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for django_spades-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cf7ce9f6866e528b6fcab2219844f6a8ee1b68e30a2dfc27b665c6f18a04475c
MD5 23407d95c3b9eae5a26ad4026902704d
BLAKE2b-256 2c55346fd5027eddf5c82a6a9775876b35558dceb27058972ceeff0659807950

See more details on using hashes here.

Provenance

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