Sunday, July 24, 2011

Re: Is there a way to insert data from a csv file into my database?

On 07/24/2011 02:46 PM, Jarilyn Hernandez wrote:
> Hi, Thanks for the response. My problem is that I have my tables
> created on django. All I want is to import some data from a csv file
> to these tables. I tried to search on the archives of the mailing list
> but I can't find what I need. I heard that batchadmin can help me to
> solve this. I downloaded an example and I was trying to make it work,
> but unfortunately I can't. I was following this instructions
> http://code.google.com/p/django-batchadmin/wiki/GettingStarted, but I
> don't understand how to do the third step. Can someone please help me.
>
> Please I need to understand this by Today. Thank you so much.
>
> Best Regards,
>
> Jary
>


Something like this (which I found by searching this group's history):
http://pastebin.com/f651cf8de

The pastebin code is something I posted in response to the same question
from another person.

--
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