1. mrooney
  2. south

Commits

Andrew Godwin  committed 8935bf7

Fix bug #319 - no commas in model add defs.

  • Participants
  • Parent commits 305c6b7
  • Branches 0.7

Comments (0)

Files changed (1)

File south/creator/actions.py

View file
  • Ignore whitespace
 
     def forwards_code(self):
         
-        field_defs = "\n            ".join([
+        field_defs = ",\n            ".join([
             "(%r, %s)" % (name, defn) for name, defn
             in self.triples_to_defs(self.model_def).items()
         ])