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
Install:
pip install django-spades
Add “Spades” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'Spades', ]
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for django_spades-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a433cc11c980b1883f44bf6e1205bb4e5d135ccf493aa776c79335c8ec2ba948 |
|
MD5 | 9f2e6f6c60cb960ba2355831303d072b |
|
BLAKE2b-256 | 63f4a010cb9c4368d44bb8ce726b77e4a52f4cf4289ef86c4484a47507e78e64 |