Thank you
On Mon, Jan 5, 2009 at 3:39 PM, Alex Koshelev wrote:
>
> You don't set proper `enctype` to the form [1]
>
> [1]:
> http://docs.djangoproject.com/en/dev/ref/forms/api/#binding-uploaded-files-to-a-form
>
>
> On Mon, Jan 5, 2009 at 11:34 PM, Glimps wrote:
> >
> > I'm using ModelForm to r
You don't set proper `enctype` to the form [1]
[1]:
http://docs.djangoproject.com/en/dev/ref/forms/api/#binding-uploaded-files-to-a-form
On Mon, Jan 5, 2009 at 11:34 PM, Glimps wrote:
>
> I'm using ModelForm to render my form. I have a FileField in my model
> that shows up as a type="file" on
I'm using ModelForm to render my form. I have a FileField in my model
that shows up as a type="file" on my page. Thing is, even if I select
a file to upload Django always complains about the field being empty
and my form never validates.
Here's my model:
class IOs(models.Model):
name
3 matches
Mail list logo