shaib  committed 1a78df9

Fix SQLite3 double-index errors on Django=1.4 by cancelling deferred sql on table remake

  • Participants
  • Parent commits 71b6bfa

Comments (0)

Files changed (1)

File south/db/

         # We can't do that before since it's impossible to rename indexes
         # and index name scope is global
         self._make_standalone_indexes(table_name, standalone_indexes, renames=renames, deleted=deleted, uniques_deleted=uniques_deleted)
+        self.deferred_sql = [] # prevent double indexing
     def _copy_data(self, src, dst, field_renames={}, added={}):
         "Used to copy data into a new table"