Commits

Anonymous committed 9d96ab1

typo in m2m generated create code that didn't include the ending ']' on the field list

Comments (0)

Files changed (1)

management/commands/startmigration.py

             {"name": "id", "type": "serial", "null": False, "unique": True},
             {"name": "%s", "type": "integer", "null": False, "related_to": ("%s", "%s")},
             {"name": "%s", "type": "integer", "null": False, "related_to": ("%s", "%s")},
-        ) ''' % (
+        ]) ''' % (
                     m.name,
                     m.m2m_db_table(),
                     m.m2m_column_name(),