Metadata-Version: 2.1
Name: tms-django-log
Version: 1.0.1
Summary: Shortcut to manage logs from Django Admin
Home-page: https://github.com/tms-software/django-log
Author: Franck COUTOULY
Author-email: franck.coutouly@tms-software.ch
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown

# Django Log Shortcut

Install the package

```bash
pip install tms_django_log
```

Add the application in the `INSTALLE_APPS`:

```python
INSTALLED_APPS = [
    ...
    'django.contrib.admin',
    'django.contrib.contenttypes',
    'tms_django_log',
    ...
]
```

Apply migrations

```python
python manage.py migrate
```

Then use the shortcut
```python
from tms_django_log.models import add_log

add_log("Something happened", detail="More details here", level=3)
```

