Skip to main content

Simple and useful django middleware for real-time logging.

Project description

django-watch

Light and useful django middleware for real-time logging in development.

https://github.com/Sobolev5/django-watch

How to use it

To install run:

pip install django-watch

Add the following lines at the end of settings.py file:

if DEBUG:
    INSTALLED_APPS = INSTALLED_APPS + ('django_watch',)
    MIDDLEWARE = ( MIDDLEWARE + ('django_watch.middleware.WatchMiddleware',) )  

Open your development console and see the result:

░░ GET main/views.py   profile  Line number 191

░░ GET main/views.py   profile [  OK  ]  STATUS 200  Total time  8.92s

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

django_watch-0.5.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file django_watch-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: django_watch-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for django_watch-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c9616900390c444b2a5556b538316e21c90bc595c2b32a8429cdd0fd3cb5b577
MD5 2f7f769d544c7a70484ac390d771851a
BLAKE2b-256 7f2f5c3755f5a2bd40adc43199824653a859e3ec9bd0e5d1d19ceecaead9cd47

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