pls try "copy" in postgres.
KM

On Mon, Jul 25, 2011 at 7:46 PM, Josh <jos.carpente...@yahoo.com> wrote:

> pgloader is for Postgres I think. If it has to be to a single table it
> shouldn't be that difficult in Python:
>
>
> 1) get sqlalchemy and declare the django-table. You can use
> SQLAutocode for this.
> 2) import and parse the csv-file ( import csv )
> 3) use the parsed csv as input for  sqlalchemy and add the data to the
> table. I think it also handles the sequences for the id-field well.
>
> On Jul 21, 6:17 am, Eiram <jary.hernan...@gmail.com> wrote:
> > Greetings,
> >
> > I'm a newbie in databases, and I was wondering if there is possible to
> > insert data from a csv file into one of the tables of my database. I
> > heard that you can use a tool called pgloader, but I don't know how to
> > use this tool or if it is possible to do this with django. Does anyone
> > knows a way to do this on django or pgloader? I really will appreciate
> > your help.
> >
> > Best Regards,
> >
> > Jary
>
> --
> 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.
>
>

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

Reply via email to