Django Audit Events
Extensible custom audit events for humans! This Django app allows you to easily create your own events in your project. Currently only works on PostgreSQL.
Let's have a look:
def awesome_view(request):
foo_obj = Foo.objects.get(pk=1)
# Do something with foo_obj...
request.audit_context.create_event(
foo_obj,
something="done",
bar="baz"
)
This will create an audit event, including the request URL, logged-in user, remote IP address, and the following event content:
>>> event.content
{"something": "done", "bar: "baz"}
For more information about installation and usage, check out the documentation!
Metadata
Release files for django-audit-events 0.2.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-audit-events-0.2.14.tar.gz | 20.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_audit_events-0.2.14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.0 kB
Release files / django-audit-events-0.2.14.tar.gz
| Download URL | django-audit-events-0.2.14.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bbd659ab86dc857ce365c58121b273e52c082ef2010ccb3f2912056d2ac5d2f
|
|
BLAKE2b-256 checksum How to use checksums |
b6d24cf41f899f4edb9eaf6396de28b763adc6f1279bc317776384ccb60cf881
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Release files / django_audit_events-0.2.14-py3-none-any.whl
| Download URL | django_audit_events-0.2.14-py3-none-any.whl |
|---|---|
| Size | 22.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
048273e0229f2120c7fc3d55d558e346cd1db1e33540366692b7015f2baf289a
|
|
BLAKE2b-256 checksum How to use checksums |
ec65ab100847ce24f0ae1f476da61d1f2e6c4f8990b7d4e6d51ea1e9ad21cf08
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|