Skip to content
Cosmic edited this page Mar 31, 2026 · 2 revisions

Django Scope

A real-time debugging and monitoring dashboard for Django.

Django Scope gives you a beautiful, standalone SPA dashboard to monitor everything happening in your Django application — requests, database queries, cache, Redis, exceptions, model changes, log entries, and more. Powered by WebSockets for instant live updates.


Quick Navigation

Page Description
Getting Started Installation, setup, and your first run
Configuration All settings and how to customize behavior
Watchers Deep dive into all 17 watchers
Dashboard Using the web dashboard
Management Commands CLI commands for pruning and clearing
Authorization Controlling access to the dashboard
Architecture How Django Scope works under the hood
WSGI vs ASGI Running with or without WebSocket support
FAQ Common questions and troubleshooting

Why Django Scope?

  • Works with APIs — Unlike Django Debug Toolbar, Django Scope doesn't inject into HTML. It works with REST APIs, GraphQL, SPAs, mobile backends, anything.
  • Real-time — WebSocket-powered live feed. Entries appear the instant they happen.
  • 17 watchers — Requests, queries, cache, Redis, mail, models, logs, exceptions, events, commands, dumps, HTTP client, views, gates, notifications, schedules, batches.
  • N+1 detection — Automatically flags repeated query patterns.
  • Auto-detection — Cache and Redis monitoring works out of the box with any backend.
  • Minimal overhead — Request-scoped buffering with bulk writes. Re-entrancy guard prevents recording its own operations.

Quick Install

pip install django-scope

Then head to Getting Started for the full setup guide.

Clone this wiki locally