Opened 7 years ago

Closed 4 years ago

#16665 closed New feature (wontfix)

Make sql clui commands consistent with dumpdata by allowing sql appname.Model

Reported by: wim@… Owned by: Mark Barrett
Component: Core (Management commands) Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


At the moment, dumpdata can dump data from apps or app.Models.
usage of dumpdata is:

./ dumpdata <appname appname appname.Model ...>

My request is to make sql and sqlall and such commands use the same clui.

./ sql <appname>


./ sql <appname appname appname.Model> 

does not.

Change History (4)

comment:1 Changed 7 years ago by Aymeric Augustin

Component: UncategorizedCore (Management commands)
Triage Stage: UnreviewedAccepted

Why not. Given the current implementation, implementing this requires some refactoring.

This is a low priority item, you should write the patch if you want to see this implemented in Django.

comment:2 Changed 6 years ago by Mark Barrett

Owner: changed from nobody to Mark Barrett

comment:3 Changed 6 years ago by Mark Barrett

Status: newassigned

comment:4 Changed 4 years ago by mardini

Resolution: wontfix
Status: assignedclosed

I'm closing this since sql commands will be deprecated according to Andrew, so working on new features won't be useful:

Note: See TracTickets for help on using tickets.
Back to Top