Saturday, November 12, 2011

Massive import from CSV to Database

Hi everybody!

I am developing a Django website. I want the admin to be able to perform
massive import of products into the database.

This is the workflow:

- the admin uploads a CSV file with a long list of products
e.g.:
product_1;230$;16kg;img_001.jpg;"A very good item of ours"
product_2;130$;10kg;img_002.jpg;"An even better item of ours"
product_3;440$;22kg;img_003.jpg;"The best item"

- the website parses the file and inserts products into the DB

Is this a good way to go? Is there any good library to use?

I found django-csv-importer. Do you know of any better solution?

Thank you very much, all the best, Fabio.

--
Fabio Natali

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate