Tuesday, April 23, 2013

Re: I have searched and searched for a CSV Importer that does the following.


Yes, this is what I did; it is a significant amount of work to create such a facility and I would have been glad if someone had done this already! 

Of course, linking fields to column headers is the very simple part of it - you still need to load rows of data items; validate each-and-every item of data (including those which are - or may be or should be -  linked to fields in other tables); allow for data conversions decide what to do with duplicates; figure out error reporting (by field?  by row?  by sheet?); allow for re-uploads; and so on and so on. 

CSV Import is very slippery slope for your application - my advice is to avoid if at all possible!!

Derek

PS Also have a look at : http://code.google.com/p/django-batchimport/

On Monday, 22 April 2013 16:47:33 UTC+2, sparky wrote:
I have searched and searched for a CSV Importer that does the following...

Imports a CSV
Allows users to then select the header that corresponds to the model.


But, honest nothing exists I can find, anyone know of any app out there in Django that does this I could have missed?

As close as I have gotten is with http://django-csv-importer.readthedocs.org/en/latest/ but this has one big draw back, the user has to know what the fields they need  to start with and cannot config after upload.

Thanks  

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment