please help with FileField(upload_to='foo')

2009-05-05 Thread djangomax
According to the Django Book for version 1.0, the following should work: fileField = forms.FileField(upload_to='foo') However, I get an error saying there was an unexpected argument. Any idea why? I'm new to Django and may be doing something outright stupid.

Re: please help with FileField(upload_to='foo')

2009-05-06 Thread djangomax
Thanks! So I just need to replace "forms" with "models and it'll work? -- djangomax On May 5, 8:50 pm, Malcolm Tredinnick wrote: > On Tue, 2009-05-05 at 21:42 -0300, Gabriel wrote: > > djangomax escribió: > > > According to the Django Book for versio

Best file browser?

2009-05-06 Thread djangomax
Many thanks -- djangomax --~--~-~--~~~---~--~~ 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 t