Commits

and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8  committed fe975f9

Fix #157 - verbose_name picked up as a change - and remove missed print statement.

  • Participants
  • Parent commits 9def913

Comments (0)

Files changed (1)

File south/management/commands/startmigration.py

 ### Output sanitisers
 
 
-USELESS_KEYWORDS = ["choices", "help_text", "upload_to"]
+USELESS_KEYWORDS = ["choices", "help_text", "upload_to", "verbose_name"]
 USELESS_DB_KEYWORDS = ["related_name"] # Important for ORM, not for DB.
 
 def remove_useless_attributes(field, db=False):
     if "orm" in new[1][0] and "orm" not in old[1][0]:
         # Do special comparison to fix #153
         try:
-            print old[1][0], new[1][0].split("'")[1].split(".")[1]
             return old[1][0] != new[1][0].split("'")[1].split(".")[1]
         except IndexError:
             pass # Fall back to next comparison