Skip to content

iddqd888/django-watch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.pyprofileLine number 191

░░ GET main/views.pyprofile [  OK  ] • STATUS 200Total time8.92s

About

Simple and useful django middleware for real-time logging.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%