Re: file upload question

2008-05-06 Thread Kenneth Gonsalves
On 07-May-08, at 3:51 AM, Chris wrote: > > Hello I have a csv importer that I have made and I want to upload the > csv file through a form field as so: > > from django import newforms as forms > > class ImportForm(forms.Form): > """ > Form for importing CSV files > """ > csv_file

file upload question

2008-05-06 Thread Chris
Hello I have a csv importer that I have made and I want to upload the csv file through a form field as so: from django import newforms as forms class ImportForm(forms.Form): """ Form for importing CSV files """ csv_file = forms.FileField() next I do something like this: for