1. Andrew Godwin
  2. south

Commits

Andrew Godwin  committed d552498

Fixed #1258: Py3 incompatability with datamigration command

  • Participants
  • Parent commits 4c1c0e8
  • Branches default

Comments (1)

Files changed (1)

File south/management/commands/datamigration.py

View file
     usage_str = "Usage: ./manage.py datamigration appname migrationname [--stdout] [--freeze appname]"
     
     def handle(self, app=None, name="", freeze_list=None, stdout=False, verbosity=1, **options):
+
+        verbosity = int(verbosity)
         
         # Any supposed lists that are None become empty lists
         freeze_list = freeze_list or []