Fix importing csv bugs (#717)

* Fix exporting csv bugs

1. auto detect the encoding of csv
2. if id in csv is empty, let it equal 0
3. if hostname exists, give up this asset

* Add chardet to requirements.txt
This commit is contained in:
Caijun
2017-09-24 09:16:47 +08:00
committed by 老广
parent 8342ba68c0
commit 43a0c4fe51
2 changed files with 18 additions and 5 deletions

View File

@@ -21,3 +21,4 @@ gssapi
django-rest-swagger
django-auth-ldap
ldap3
chardet>=3.0.4