Opened 5 years ago

Closed 5 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: UI/UX:

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 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by lorochka85

comment:1 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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