Commits

amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8  committed 9d96ab1

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

  • Participants
  • Parent commits 4b5f6a5

Comments (0)

Files changed (1)

File 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(),