Skip to main content

Shortcut to manage logs from Django Admin

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tms-django-log-1.0.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tms_django_log-1.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file tms-django-log-1.0.1.tar.gz.

File metadata

  • Download URL: tms-django-log-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.15

File hashes

Hashes for tms-django-log-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a24a877d63268d1c24ca30a56726017c5f652734692dbe0ebc28cca26ba519cc
MD5 8aac666c9c4e86d105d33e06f39f0b97
BLAKE2b-256 f1dced6cd1de09187d3b90464466fd833d6c61ae70b1c867dc448946426c4500

See more details on using hashes here.

File details

Details for the file tms_django_log-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tms_django_log-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.15

File hashes

Hashes for tms_django_log-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2addc8d1c62c58c15c3553b89c70ef9bf7836eb5b2884c91bd8881a8505bde00
MD5 c814c18d23e912e5d9fe4a70dff56d04
BLAKE2b-256 b2fec5a5fc10fbd63b038d3863a752619f572e08bf79475306017b4f2a98fd82

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page