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

Uploaded Python 3

File details

Details for the file tms_django_log-1.0.3.tar.gz.

File metadata

  • Download URL: tms_django_log-1.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tms_django_log-1.0.3.tar.gz
Algorithm Hash digest
SHA256 bf24ea3f32b1064778aa6f712489cc5dc1b4e7b245fa1d1f24bac4439726c561
MD5 6e0c46ac9aed460b035870bd8d27657f
BLAKE2b-256 4e04ff1eb0426996b59ea8a6beb2e941f13da31469cb0173f8d3db55f5c62e27

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tms_django_log-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for tms_django_log-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e223e9b8dbaaebd3c58bfd4c794c40a7d66e164faf1a386bf407c2038893cf53
MD5 373736ea07b33b0110f54adefffecd86
BLAKE2b-256 6812c121a9df2ef2c693f6e2c9a483fa6aa91458b5d419fe8ac7778783178e7e

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