Reading CSV with Python, see:
http://www.linuxjournal.com/content/handling-csv-files-python

I'm not sure you need a dictionary view as well (?) - the above
tutorial shows how tuples are created, which may be sufficient for
your needs.

Working through a Django tutorial, or the first part of The Django
Book should allow you to undertake the steps, while using the Django
shell:
1. create instances of your models,
2. populate them, and
3 save them.

You will, in any case, need this knowledge when working with Django.

On Sep 7, 8:14 pm, Duane Hilton <dua...@gmail.com> wrote:
> 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 <sh...@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-us...@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