Opened 16 years ago
Closed 14 years ago
#11005 closed (wontfix)
./manage query -- query the django orm from the command line
Reported by: | Owned by: | Dennis Kaarsemaker | |
---|---|---|---|
Component: | Core (Management commands) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | yes | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Attached patch adds a new ./manage.py command to query the django ORM from the command line. Output is either comma-separated or done with a template, documentation included in the patch.
Attachments (2)
Change History (7)
by , 16 years ago
Attachment: | query.patch added |
---|
comment:1 by , 16 years ago
Component: | Uncategorized → django-admin.py |
---|
comment:2 by , 16 years ago
Needs documentation: | set |
---|---|
Needs tests: | set |
Triage Stage: | Unreviewed → Design decision needed |
comment:3 by , 15 years ago
Owner: | changed from | to
---|
comment:4 by , 15 years ago
Needs documentation: | unset |
---|
New patch attched, includes documentation. Not sure how to test this functionality, hints are appreciated.
comment:5 by , 14 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This isn't a common enough use-case to require adding code (and maintenance) to Django. It's easy to do this type of thing from the management shell. It's also easy to write custom management commands if a project or app wanted such functionality. Won't-fixing.
Patch that adds ./manage.py query