Hi everybody.
I want to insert data into my Django db as I read from a CSV file.
Everything was fine with a first model of mine.
######################################################################
fields = ("name", "price")
for (counter, row) in enumerate(csvReader):
product_dict = dict(zip(fields, row))
Product.delayed.insert(product_dict)
Product.delayed.flush()
######################################################################
Now I am dealing with another model which contains a manytomany field.
Can I use DSE now? Which syntax am I supposed to use?
Kind regards, 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+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.