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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6379ebd30249a1b43b40c4d4854f3d2e6045108dfa8befc79554c2cb53054ef3
|
|
| MD5 |
15690644af0ec654c38615983c628a99
|
|
| BLAKE2b-256 |
94ddfebc2f09f2d3b7415dba73f1fc24d8712fdd558dc98739ba7c0c1e0d3c91
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2f2f80e015307052688177f01bea77fec86f2cb4f88fd414ed38bef6539974f
|
|
| MD5 |
fa85a18ae903fd698e1a15b218633253
|
|
| BLAKE2b-256 |
d92a7cf51f9737b635502b751621d273320704117fe69c769f459dade8f8056c
|