Opened 10 years ago

Closed 10 years ago

#22776 closed New feature (wontfix)

Management command sqlall should support applabel.model syntax

Reported by: jarshwah Owned by: mardini
Component: Core (Management commands) Version: dev
Severity: Normal Keywords: sqlall
Cc: loic84 Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

It'd be extremely useful if the sqlall management command was able to produce the sql for a specific model:

./manage sqlall applabel.Model

The above would be particularly useful with ticket #22775 ( --include-unmanaged ), as you'd be able to print out only the SQL required for models not managed by migrations.

Change History (5)

comment:1 by loic84, 10 years ago

Cc: loic84 added
Triage Stage: UnreviewedAccepted

comment:2 by mardini, 10 years ago

Owner: changed from nobody to mardini
Status: newassigned

comment:4 by mardini, 10 years ago

Component: Database layer (models, ORM)Core (Management commands)

comment:5 by mardini, 10 years ago

Resolution: wontfix
Status: assignedclosed

After a discussion on IRC, Tim suggested closing this ticket and not doing any new work on sql commands, since they will be deprecated according to Andrew: https://code.djangoproject.com/ticket/22611#comment:6

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