A reusable Django app to log actions and display them in a timeline
Prerequisites
This project uses django.db.models.JSONField, and as such, you need:
Django 4.2+
a database supporting django.db.models.JSONField
Installation
Install from PyPI by running
pip install django-timeline-logger
Add 'timeline_logger' to your INSTALLED_APPS.
Run the migrations:
python manage.py migrate
Usage in templates
A custom template tag is provided to render the message of a log entry, for example:
{% extends "timeline_logger/base.html" %}
{% load timeline %}
{% block timeline %}
<ul class="timeline__list col__22--vw">
{% for log in object_list %}
<li class="timeline__entry">
{% render_message log in_view=True %}
</li>
{% endfor %}
</ul>
{% endblock timeline %}
This way, you can pass extra context to the template used for the log object.
Documentation
The extended documentation is available on Read the Docs.
Local development
To install and develop the library locally, use:
pip install -e .[tests,docs,release]
When running management commands via django-admin, make sure to add the root directory to the python path (or use python -m django <command>):
export PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests.settings_pg
django-admin check
# or other commands like:
# django-admin makemessages -l nl
Metadata
Release files for django-timeline-logger 6.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 | |
|---|---|---|---|---|
| django_timeline_logger-6.0.0.tar.gz | 23.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_timeline_logger-6.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 49.8 kB
Release files / django_timeline_logger-6.0.0.tar.gz
| Download URL | django_timeline_logger-6.0.0.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8ef0f9ae3fd62f679ca849eeaae4bf112f31333995d3f3b84c2df1faef6f569
|
|
BLAKE2b-256 checksum How to use checksums |
afac5cced563e8aa2d3a33fb1df6d3dd52e3007cb672a68db89973b14026b160
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 11, 2026.
Transparency logRelease files / django_timeline_logger-6.0.0-py3-none-any.whl
| Download URL | django_timeline_logger-6.0.0-py3-none-any.whl |
|---|---|
| Size | 26.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a626c3a872b15f32a513cf227a2dfd2b4d8a39c66fe987a3a5127bb58c5ca020
|
|
BLAKE2b-256 checksum How to use checksums |
4576de295c4f6144b63fe4db9b46724a3d3a64a11528c494b2346b6ec63ed12a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 11, 2026.
Transparency logSecurity for django-timeline-logger 6.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for django_timeline_logger-6.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 11, 2026.
Transparency logA 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.