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.2.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.2-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tms-django-log-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2be2925dc1ee6748b4af8ff4a79723256ab3687367053595065ee9e50bcc549c
MD5 269507f26e3a69a12a5824c921409035
BLAKE2b-256 7dd0eddd78eaa02c8e8fada0f31b5493bd19aaad66875248e576902bfe72f1d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tms_django_log-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 07623434f44583a903f41b085ebcde3d5a2f56a625def6dd13521cd498a8fc63
MD5 5d595157e1be77cf5e8833d0657a7980
BLAKE2b-256 52ba633d1024b444642916e250d77a56b70cc9d235ba02c0b363c2f35a7fb8a6

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