Opened 6 years ago
Closed 6 years ago
#29404 closed New feature (wontfix)
Add --show-sql option to the shell command
Reported by: | Ivan Khomutov | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | 2.0 |
Severity: | Normal | Keywords: | shell, sql |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Basically, it refers to this SO answer https://stackoverflow.com/a/5835465
It is very helpful feature, why not to try to include this into shell command itself?
Note:
See TracTickets
for help on using tickets.
There is a popular package you can use to do that: https://django-extensions.readthedocs.io/en/latest/shell_plus.html
You may discuss on the django-developers mailing list if you think it should be in Django core, but you should provide convincing arguments.