Light and useful django middleware for real-time logging in development.
https://github.com/Sobolev5/django-watch
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