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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_spades-0.1.10-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file django_spades-0.1.10.tar.gz.

File metadata

  • Download URL: django_spades-0.1.10.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for django_spades-0.1.10.tar.gz
Algorithm Hash digest
SHA256 6379ebd30249a1b43b40c4d4854f3d2e6045108dfa8befc79554c2cb53054ef3
MD5 15690644af0ec654c38615983c628a99
BLAKE2b-256 94ddfebc2f09f2d3b7415dba73f1fc24d8712fdd558dc98739ba7c0c1e0d3c91

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_spades-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.6

File hashes

Hashes for django_spades-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f2f2f80e015307052688177f01bea77fec86f2cb4f88fd414ed38bef6539974f
MD5 fa85a18ae903fd698e1a15b218633253
BLAKE2b-256 d92a7cf51f9737b635502b751621d273320704117fe69c769f459dade8f8056c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page