معرفی شرکت ها


django-timeline-logger-2.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Generic event logger for Django models.
ویژگی مقدار
سیستم عامل -
نام فایل django-timeline-logger-2.1.0
نام django-timeline-logger
نسخه کتابخانه 2.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Maykin Media
ایمیل نویسنده support@maykinmedia.nl
آدرس صفحه اصلی https://github.com/maykinmedia/django-timeline-logger
آدرس اینترنتی https://pypi.org/project/django-timeline-logger/
مجوز MIT
====================== django-timeline-logger ====================== 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| Prerequisites ============= This project uses ``django.contrib.postgres.JSONField``, and as such, you need: * at least Django 3.2+ * a database supporting ``django.db.models.JSONField`` * A modern setuptools version 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`_. .. _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/


نیازمندی

مقدار نام
>=3.2 django
- django-appconf
- pytest-cov
- sphinx
- sphinx-rtd-theme
- flake8
- bump2version
- twine
- factory-boy
- psycopg2
- pytest
- pytest-cov
- pytest-django
- pytest-pep8
- pytest-pylint
- pytest-pythonpath
- pytest-runner
- tox
- black
- isort


نحوه نصب


نصب پکیج whl django-timeline-logger-2.1.0:

    pip install django-timeline-logger-2.1.0.whl


نصب پکیج tar.gz django-timeline-logger-2.1.0:

    pip install django-timeline-logger-2.1.0.tar.gz