Comments (3)
We could make use of SQL format for this, either the local library, or the API:
http://sqlformat.appspot.com/api/
from django-debug-toolbar.
Yeah, that's a nice library. I was playing with it in a this gist: http://gist.github.com/118990
I have to look at the API for it a bit closer but it adds a newline after every column name which might be a bit too much for the sql panel.
from django-debug-toolbar.
We no longer indent SQL in the SQL panel and we are also now using the sqlparse library which takes care of this if we are indenting, like in the debugshell. Closing as fixed.
from django-debug-toolbar.
Related Issues (20)
- Checkboxes not all right-aligned HOT 3
- Error after update to 4.4.1 (debug_toolbar.E001) The Django Debug Toolbar can't be used with tests HOT 5
- Version 4.4.1 changes the look of DRF browsable API HOT 8
- Just Enabling Debug Toolbar as Middleware creates Delays of Several Seconds on each request HOT 14
- I can no longer use iptools.IpRangeList for INTERNAL_IPS HOT 5
- SVG definitions have width in rem which throws console errors HOT 5
- Time panel in Debug Toolbar not clickable due to missing <a> tag HOT 1
- There is a delay in response to requests. HOT 1
- Using the toolbar with Replit HOT 4
- Dark mode text needs higher contrast HOT 6
- AttributeError: This StreamingHttpResponse instance has no `content` attribute. Use `streaming_content` instead. HOT 5
- Jinja2 dependency breaks default install HOT 1
- KeyError: "alerts" in nav_subtitle if alerts stats not present HOT 1
- KeyError: "alerts" in nav_subtitle if alerts stats not present HOT 2
- Release 4.4.4 seems to require Jinja2 HOT 3
- What time measures the "domLoading" entry under the time panel? HOT 2
- Crash on non-text views
- History sidebar panel keeps loading infinitely? HOT 14
- ImportError in 4.4.6 release cannot import name '_HTML_TYPES' from 'debug_toolbar.middleware' HOT 2
- Recast sentence HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-debug-toolbar.