Hello,

If your data is in a CSV format I have a tool I wrote to do this a
while ago that has served me well several times:
http://projects.django-development.info/trac/dd_csvloader   To
download if you want as a CSV check for a snippet at
djangosnippets.org.  http://www.djangosnippets.org/snippets/1697/ is
one such snippet.  You can also use the manager to import/export data
is several formats see 
http://docs.djangoproject.com/en/dev/ref/django-admin/#loaddata-fixture-fixture.
Just a few links to get you started.

Good Luck,
Mark

On Oct 1, 7:25 am, Carlos Gustavo <geek.gust...@gmail.com> wrote:
> Hi All,
>
> I am a django newbie and so far it has been great.
>
> How do I populate a mysql database table with data from a text file?
>
> Also How do I dump results of a database query into a text file.
>
> I have already created my django model for the mysql table.
>
> Thanks in advance.
>
> -Carlos
--~--~---------~--~----~------------~-------~--~----~
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