Commits

hideki nara committed 4e0ce79

woops...

  • Participants
  • Parent commits 631720e

Comments (0)

Files changed (1)

csvutils/forms.py

         fieldnames.append(DELETION_FIELD_NAME)
 
     data = {}
-    reader = csv.DictReader(csvfile )
+    reader = csv.DictReader(csvfile ,fieldnames=fieldnames) 
     reader.reader = UnicodeReader(csvfile, encoding=encoding) 
     form_prefix = formset_cls.get_default_prefix()
     form_count = 0