Django-Analog
Simple per-model log models for Django apps.
Compatibility
Django 2.2+, 3.0+
Python 3.6+
Basic Usage
from django.db import models
from analog import define_log_model
class MyModel(models.Model):
value = models.IntegerField(default=0)
MyModelLogEntry = define_log_model(MyModel)
m = MyModel.objects.create(value=42)
m.add_log_entry('Something occurred')
assert m.log_entries.last().message == 'Something occurred'
Development
pip install -e . pip install -r requirements-dev.txt
Tests
py.test
Documentation
sphinx-build -b html docs docs/_build
Metadata
Release files for django-analog 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-analog-2.0.0.tar.gz | 6.2 kB | Without provenance | Details for django-analog-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_analog-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for django_analog-2.0.0-py3-none-any.whl |
Total release size: 13.7 kB
Release files / django-analog-2.0.0.tar.gz
| Download URL | django-analog-2.0.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
383eaa6e164e2128d12b544f6961648adcf368256ae43efeaf73dfca6b3c1d33
|
|
BLAKE2b-256 checksum How to use checksums |
1c3199c546abb6efbb1e17d3b2ea3a84f43646760fe486a439118318d9af495f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
|
Release files / django_analog-2.0.0-py3-none-any.whl
| Download URL | django_analog-2.0.0-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
711a24dd28e5897a0d33d8c79035092116bef05f0e6ec3865c8f51999c774d2e
|
|
BLAKE2b-256 checksum How to use checksums |
cd4a542cea1f37a0a37f1ad7697632b74c0ef55ca209d9996e3a550be9da0913
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.9
|
Security for django-analog 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.