Skip to content

tms-software/django-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Log Shortcut

Install the package

pip install tms_django_log

Add the application in the INSTALLE_APPS:

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

Apply migrations

python manage.py migrate

Then use the shortcut

from tms_django_log.models import add_log

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages