Commits

Andrew Godwin committed 59f6bae Merge

Merged in joke2k/south/joke2k/fix-syncdbpy-noinitialdata-option-suppor-1371312229825 (pull request #127)

fix syncdb.py --no-initial-data option support

Comments (0)

Files changed (1)

south/management/commands/syncdb.py

         if options.get('migrate', True):
             if verbosity:
                 print("Migrating...")
+            # convert from store_true to store_false
+            options['no_initial_data'] = not options['load_initial_data']
             management.call_command('migrate', **options)
         
         # Be obvious about what we did