Metadata-Version: 2.1
Name: django-simple-log
Version: 0.3.8
Summary: Logging django models changes.
Home-page: https://github.com/kindlycat/django-simple-log/
Author: Grigory Mishchenko
Author-email: grishkokot@gmail.com
Keywords: django,log,audit,history
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: License :: OSI Approved :: BSD License
Requires-Dist: Django>=1.11
Requires-Dist: django-request-vars>=1.0.1

Django simple log
=================
.. image:: https://travis-ci.org/kindlycat/django-simple-log.svg?branch=master
    :target: https://travis-ci.org/kindlycat/django-simple-log
.. image:: https://coveralls.io/repos/github/kindlycat/django-simple-log/badge.svg?branch=master
    :target: https://coveralls.io/github/kindlycat/django-simple-log?branch=master
.. image:: https://img.shields.io/pypi/v/django-simple-log.svg
    :target: https://pypi.python.org/pypi/django-simple-log

Logging model changes on every create/update/delete (except queryset update).

Full documentation on `read the docs`_.


Installation
------------
Install using pip:

.. code-block:: sh

    $ pip install django-simple-log

Add to installed apps:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'simple_log',
        ...
    )

Add middleware for detecting user:

.. code-block:: python

    MIDDLEWARE = [
        ...
        'request_vars.middleware.RequestVarsMiddleware',
        ...
    ]

Migrate:

.. code-block:: sh

    $ python manage.py migrate


.. _`read the docs`: https://django-simple-log.readthedocs.io/en/latest/
