Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
django-timeline-logger
Advanced tools
A reusable Django app to log actions and display them in a timeline
|build-status| |code-quality| |coverage| |black|
|python-versions| |django-versions| |pypi-version|
This project uses django.db.models.JSONField
, and as such, you need:
django.db.models.JSONField
Install from PyPI by running
pip install django-timeline-logger
Add 'timeline_logger'
to your INSTALLED_APPS
.
Run the migrations:
python manage.py migrate
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.
The extended documentation is available on Read the Docs
_.
.. _Read the Docs: http://django-timeline-logger.readthedocs.io/en/latest/
.. |build-status| image:: https://github.com/maykinmedia/django-timeline-logger/actions/workflows/ci.yml/badge.svg :alt: Build status :target: https://github.com/maykinmedia/django-timeline-logger/actions/workflows/ci.yml
.. |code-quality| image:: https://github.com/maykinmedia/django-timeline-logger/actions//workflows/code_quality.yml/badge.svg :alt: Code quality checks :target: https://github.com/maykinmedia/django-timeline-logger/actions//workflows/code_quality.yml
.. |coverage| image:: https://codecov.io/gh/maykinmedia/django-timeline-logger/branch/master/graph/badge.svg :target: https://codecov.io/gh/maykinmedia/django-timeline-logger :alt: Coverage status
.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-timeline-logger.svg
.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-timeline-logger.svg
.. |pypi-version| image:: https://img.shields.io/pypi/v/django-timeline-logger.svg :target: https://pypi.org/project/django-timeline-logger/
FAQs
Generic event logger for Django models.
We found that django-timeline-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.