Commits

joke2k  committed a76ee9c

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

  • Participants
  • Parent commits 9521637
  • Branches joke2k/fix-syncdbpy-noinitialdata-option-suppor-1371312229825

Comments (0)

Files changed (1)

File 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