huddlej/django-csv-admin — pull request #6 by philipbjorge (2012-04-12 02:21:17+00:00)
Title: Cross-platform csv upload support.

PNWMoths was crashing on a CSV import. It was reporting that we should try turning on "Universal Newline Mode" for the csv file.

How to Produce this error:
Export a CSV of records from the pnwmoths.biol.wwu.edu BSD server
Modify the CSV file in Mac OSX Excel
Save the CSV file
Upload to bsd server and try to validate

A sample file - http://philipbjorge.pwdev.org/media/csv_admin/species_speciesrecord-4.csv

Googling suggested that the problem could have been caused by saving the file on a mac and/or saving the file with excel. Universal newline mode fixes both issues.

http://www.python.org/dev/peps/pep-0278/