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.9.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

django_spades-0.1.9-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-spades-0.1.9.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.5

File hashes

Hashes for django-spades-0.1.9.tar.gz
Algorithm Hash digest
SHA256 46c53d06220eaab261d4808b8961b7a49b99ea7f9d17cd131abb85f1526c4903
MD5 3867cbcfe676f7a31e9c87cdf5a267c9
BLAKE2b-256 9948287fbaa73dcbd4a28137cd04a11cf068b9ada1efb1f380f574ba5b8aa235

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_spades-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a433cc11c980b1883f44bf6e1205bb4e5d135ccf493aa776c79335c8ec2ba948
MD5 9f2e6f6c60cb960ba2355831303d072b
BLAKE2b-256 63f4a010cb9c4368d44bb8ce726b77e4a52f4cf4289ef86c4484a47507e78e64

See more details on using hashes here.

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