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 details)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46c53d06220eaab261d4808b8961b7a49b99ea7f9d17cd131abb85f1526c4903 |
|
MD5 | 3867cbcfe676f7a31e9c87cdf5a267c9 |
|
BLAKE2b-256 | 9948287fbaa73dcbd4a28137cd04a11cf068b9ada1efb1f380f574ba5b8aa235 |
File details
Details for the file django_spades-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: django_spades-0.1.9-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a433cc11c980b1883f44bf6e1205bb4e5d135ccf493aa776c79335c8ec2ba948 |
|
MD5 | 9f2e6f6c60cb960ba2355831303d072b |
|
BLAKE2b-256 | 63f4a010cb9c4368d44bb8ce726b77e4a52f4cf4289ef86c4484a47507e78e64 |