handle case where data is not a list
Merge branch 'master' of https://github.com/dougvk/django-rest-framework-csv into dougvk-master
Use `not isinstance(..., ...)` instead of `type(...) is not ...`