Re: Scrape a file, then put it in the django database

2010-03-08 Thread Michael Lissner
Thanks Daniel. I guess that part makes sense, but what I'd really like to do is use the FileField itself to place the file in the right place. I thought that with a file that was submitted from a form field, that this was possible (and indeed the intended purpose). I'm confused why it seems like I

Re: Scrape a file, then put it in the django database

2010-03-08 Thread Daniel Hilton
On 8 March 2010 07:45, mjlissner wrote: > I'm trying to write a program that scrapes all the pdfs off of this > page: > http://www.ca3.uscourts.gov/recentop/week/recprec.htm > > And then puts them onto my hard drive, with the reference to their > location in a FileField. > > I've defined a FileFie

Scrape a file, then put it in the django database

2010-03-07 Thread mjlissner
I'm trying to write a program that scrapes all the pdfs off of this page: http://www.ca3.uscourts.gov/recentop/week/recprec.htm And then puts them onto my hard drive, with the reference to their location in a FileField. I've defined a FileField in my model, and I believe I can scrape the site OK