Opened 15 years ago

Closed 15 years ago

#12572 closed (wontfix)

syncdb support for list of apps as command argument

Reported by: lorochka85 Owned by: nobody
Component: Core (Other) Version: 1.1
Severity: Keywords: syncdb
Cc: lorochka85@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Sometimes there is a need to do syncdb on only one or more apps from settings.INSTALLED_APPS rather than all of them. There is currently support for -e (--exclude) option, but it might be nice to be able to pass a list of app_labels as an argument to syncdb.

Pls, see patch attached (sorry, it's lacking unittests.)

Attachments (1)

12572_syncdb.diff (3.1 KB ) - added by lorochka85 15 years ago.

Download all attachments as: .zip

Change History (2)

by lorochka85, 15 years ago

Attachment: 12572_syncdb.diff added

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: wontfix
Status: newclosed

Support for --exclude was reverted in [12290]. The intention has always been that syncdb is a complete update operation. --exclude was a necessary evil for multi-db support prior to the introduction of the allow_syncdb() router option.

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