1. Andrew Godwin
  2. south


shaib  committed 3265551

Remove the misleading no-initial-data option from syncdb where not supported by Django

  • Participants
  • Parent commits d0edc82
  • Branches default

Comments (0)

Files changed (1)

File south/management/commands/syncdb.py

View file
             type='choice', choices=['0', '1', '2'],
             help='Verbosity level; 0=minimal output, 1=normal output, 2=all output'),
-    if '--no-initial-data' not in [opt.get_opt_string() for opt in syncdb.Command.option_list]:
-        option_list += (
-            make_option('--no-initial-data', action='store_false', dest='load_initial_data', default=True,
-            help='Tells Django not to load any initial data after database synchronization.'),
-        )
     help = "Create the database tables for all apps in INSTALLED_APPS whose tables haven't already been created, except those which use migrations."
     def handle_noargs(self, migrate_all=False, **options):