Opened 5 years ago

Closed 2 years ago

#16665 closed New feature (wontfix)

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

Reported by: wim@… Owned by: marclurr
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 5 years ago by aaugustin

  • Component changed from Uncategorized to Core (Management commands)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

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 5 years ago by marclurr

  • Owner changed from nobody to marclurr

comment:3 Changed 5 years ago by marclurr

  • Status changed from new to assigned

comment:4 Changed 2 years ago by mardini

  • Resolution set to wontfix
  • Status changed from assigned to closed

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