Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Generic event logger for Django models.

Project Description

A reusable Django app to log actions and display them in a timeline


This project uses django.contrib.postgres.JSONField, and as such, you need:

  • at least Django 1.9
  • at least PostgreSQL 9.4
  • at least psycopg2 2.5.4


Install from PyPI by running

pip install django-timeline-logger

Add ‘timeline_logger’ to your INSTALLED_APPS.

Run the migrations:

python 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 %}
    {% endfor %}
{% endblock timeline %}

This way, you can pass extra context to the template used for the log object.


The extended documentation is available on Read the Docs.

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_timeline_logger-0.5.1-py2.py3-none-any.whl (12.4 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jul 22, 2016
django-timeline-logger-0.5.1.tar.gz (7.2 kB) Copy SHA256 Checksum SHA256 Source Jul 22, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting