1. Luke Plant
  2. south


Andrew Godwin  committed fa4ea4b

Make alter_column dry_run safe

  • Participants
  • Parent commits 105490f
  • Branches default

Comments (0)

Files changed (1)

File south/db/generic.py

View file
         @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'):