Commits

Andrew Godwin  committed fa4ea4b

Make alter_column dry_run safe

  • Participants
  • Parent commits 105490f

Comments (0)

Files changed (1)

File south/db/generic.py

         @param name: The name of the column to alter
         @param field: The new field definition to use
         """
+        
+        if self.dry_run:
+            return
 
         # hook for the field to do any resolution prior to it's attributes being queried
         if hasattr(field, 'south_init'):