Re: Automatically loading data into Django
Thanks for the response. I think that is exactly what I'm looking for.
But, being a newb, this raises new questions that I will spare the
group. Could you point me toward a book or tutorial that would show me
how to do that?
Thanks.
On Tue, Sep 7, 2010 at 10:23 AM, Shawn Milochik <shawn@milochik.com> wrote:
> It doesn't seem like converting your data into fixtures will provide
> any advantage. If it's pipe-delimited, then just write a Python script
> imports the CSV module (which can handle other delimiters) and your
> model(s).
>
> Use it to read the data and convert it to dictionaries, then create
> instances of your models, populate them, and save them.
>
> Shawn
>
--
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